wt.ixb.publicforapps
Interface IxbDocument

All Superinterfaces:
IxbElement
All Known Implementing Classes:
IxbDomDocument

public interface IxbDocument
extends IxbElement

This interface represents XML file for export and import This is a simple wraper for XML DOM representation. DOM is not used explicitely for the following reasons:



Supported API: true

Extendable: true


Method Summary
 void addRootElement(IxbElement el)
          

Supported API: true
 IxbElement createCDataSectionElement(String tag, String value)
          

Supported API: true
 IxbElement createElement(String tag)
          

Supported API: true
 IxbElement createElement(String tag, String value)
          

Supported API: true
 IxbElement createRootElement(String value)
          

Supported API: true
 Document getDom()
          Deprecated.  
 IxbElement getRootElement()
          

Supported API: true
 
Methods inherited from interface wt.ixb.publicforhandlers.IxbElement
addAdvancedDomAttributesOfForeignElement, addAttribute, addCDataSectionValue, addCommentByCopy, addElement, addElement, addForeignElementByAdopt, addForeignElementByCopy, addValue, addValue, addValue, addValue, addValue, getAttribute, getAttributes, getAttributeValuePairs, getBooleanValue, getDoubleValue, getElement, getElements, getElements, getElementsAndComments, getIntValue, getKeys, getLongValue, getParent, getTag, getValue, getValue, getValues, isCDATASectionElement, isCommentElement, isTextElement, removeChildElement, setValue, store, store, store
 

Method Detail

getDom

public Document getDom()
                throws WTException
Deprecated.  



Supported API: false

Returns:
Document
Throws:
WTException

getRootElement

public IxbElement getRootElement()
                          throws WTException


Supported API: true

Returns:
IxbElement
Throws:
WTException

addRootElement

public void addRootElement(IxbElement el)
                    throws WTException


Supported API: true

Parameters:
el -
Throws:
WTException

createElement

public IxbElement createElement(String tag)
                         throws WTException


Supported API: true

Parameters:
tag -
Returns:
IxbElement
Throws:
WTException

createElement

public IxbElement createElement(String tag,
                                String value)
                         throws WTException


Supported API: true

Parameters:
tag -
value -
Returns:
IxbElement
Throws:
WTException

createRootElement

public IxbElement createRootElement(String value)
                             throws WTException


Supported API: true

Parameters:
value -
Returns:
IxbElement
Throws:
WTException

createCDataSectionElement

public IxbElement createCDataSectionElement(String tag,
                                            String value)
                                     throws WTException


Supported API: true

Parameters:
tag -
value -
Returns:
IxbElement
Throws:
WTException