wt.ixb.impl.doc
Class IxbDomDocument

java.lang.Object
  extended bywt.ixb.impl.doc.IxbDomElement
      extended bywt.ixb.impl.doc.IxbDomDocument
All Implemented Interfaces:
IxbDocument, IxbElement

public class IxbDomDocument
extends IxbDomElement
implements IxbDocument


Nested Class Summary
 
Nested classes inherited from class wt.ixb.impl.doc.IxbDomElement
IxbDomElement.IxbDefaultHandler
 
Field Summary
private  Document domDoc
           
private static Boolean superValidation
           
 
Fields inherited from class wt.ixb.impl.doc.IxbDomElement
domElem, ixbDoc, UTF8_INVALID_CHAR, validate
 
Constructor Summary
IxbDomDocument()
           
 
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 tag)
          

Supported API: true
private static InputStream doXmlStreamSuperValidation(InputStream in)
           
 String getDocumentTag()
           
 Document getDom()
          

Supported API: false
 IxbElement getRootElement()
          

Supported API: true
 void initialize()
           
 void initialize(Element domXmlFile)
           
 void initialize(InputStream xmlFile, boolean _validate)
           
private static void PP(String s)
           
private  void setDomRootElement(Element el)
           
 
Methods inherited from class wt.ixb.impl.doc.IxbDomElement
addAdvancedDomAttributesOfForeignElement, addAttribute, addCDataSectionValue, addCommentByCopy, addElement, addElement, addForeignElementByAdopt, addForeignElementByCopy, addValue, addValue, addValue, addValue, addValue, getAttribute, getAttributes, getAttributeValuePairs, getBooleanValue, getDomElement, getDoubleValue, getElement, getElements, getElements, getElementsAndComments, getIntValue, getKeys, getLongValue, getParent, getSystemId, getTag, getValue, getValue, getValues, isCDATASectionElement, isCommentElement, isTextElement, removeChildElement, setValue, store, store, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Field Detail

superValidation

private static Boolean superValidation

domDoc

private Document domDoc
Constructor Detail

IxbDomDocument

public IxbDomDocument()
Method Detail

setDomRootElement

private void setDomRootElement(Element el)

initialize

public void initialize()
                throws WTException
Throws:
WTException

doXmlStreamSuperValidation

private static InputStream doXmlStreamSuperValidation(InputStream in)
                                               throws WTException
Throws:
WTException

initialize

public void initialize(InputStream xmlFile,
                       boolean _validate)
                throws WTException
Throws:
WTException

initialize

public void initialize(Element domXmlFile)
                throws WTException
Throws:
WTException

createRootElement

public IxbElement createRootElement(String tag)
                             throws WTException
Description copied from interface: IxbDocument


Supported API: true

Specified by:
createRootElement in interface IxbDocument
Parameters:
tag -
Returns:
IxbElement
Throws:
WTException

createElement

public IxbElement createElement(String tag)
                         throws WTException
Description copied from interface: IxbDocument


Supported API: true

Specified by:
createElement in interface IxbDocument
Parameters:
tag -
Returns:
IxbElement
Throws:
WTException

createElement

public IxbElement createElement(String tag,
                                String value)
                         throws WTException
Description copied from interface: IxbDocument


Supported API: true

Specified by:
createElement in interface IxbDocument
Parameters:
tag -
value -
Returns:
IxbElement
Throws:
WTException

createCDataSectionElement

public IxbElement createCDataSectionElement(String tag,
                                            String value)
                                     throws WTException
Description copied from interface: IxbDocument


Supported API: true

Specified by:
createCDataSectionElement in interface IxbDocument
Parameters:
tag -
value -
Returns:
IxbElement
Throws:
WTException

addRootElement

public void addRootElement(IxbElement el)
                    throws WTException
Description copied from interface: IxbDocument


Supported API: true

Specified by:
addRootElement in interface IxbDocument
Parameters:
el -
Throws:
WTException

getRootElement

public IxbElement getRootElement()
                          throws WTException
Description copied from interface: IxbDocument


Supported API: true

Specified by:
getRootElement in interface IxbDocument
Returns:
IxbElement
Throws:
WTException

getDom

public Document getDom()
                throws WTException
Description copied from interface: IxbDocument


Supported API: false

Specified by:
getDom in interface IxbDocument
Returns:
Document
Throws:
WTException

getDocumentTag

public String getDocumentTag()
                      throws WTException
Throws:
WTException

PP

private static void PP(String s)