EAF 7.4 Util

org.enhydra.util.dom
Class SimpleXMLObjectImpl

java.lang.Object
  extended by org.enhydra.util.dom.SimpleXMLObjectImpl
All Implemented Interfaces:
org.enhydra.xml.io.DocumentInfo, org.enhydra.xml.xmlc.XMLObject, org.w3c.dom.Document, org.w3c.dom.Node
Direct Known Subclasses:
JivanSimpleXMLObjectImpl

public class SimpleXMLObjectImpl
extends java.lang.Object
implements org.enhydra.xml.xmlc.XMLObject

Title: SimpleXMLObjectImpl

Description: This class represents implementation of XMLObject interface. Its main purpose is to provide the way for creation of XMLObject object by passed org.w3c.dom.Document object implementation. The XMLCObject created by this manner can be used in already existing writeDOM() method of ServletHttpPresentationResponse object to perform http response. So, this class (or extemnsion of this class) may be used as suitable way to process the http response by using different org.w3c.dom.Document object implementations (for example Jivan implementation) via already existing XMLC writeDOM() methods. Note that this class was tested only in in http response, not in DOM manipulation, and some methods throw an exception because they are not implemented.

Copyright: Copyright (c) 2004

Company: Together

Version:
1.0
Author:
Vladimir Radisic

Field Summary
 
Fields inherited from interface org.enhydra.xml.xmlc.XMLObject
XMLC_GENERATED_CLASS_FIELD_NAME, XMLC_SOURCE_FILE_FIELD_NAME
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
SimpleXMLObjectImpl()
          Constructor.
 
Method Summary
 org.w3c.dom.Node adoptNode(org.w3c.dom.Node source)
          See org.w3c.dom.Document#adoptNode
 org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
           
 void buildDocument()
          Method is not implemented yet.
protected  void cloneDeepCheck(boolean deep)
          Check that cloneNode on an entire document is done with the deep option.
 org.w3c.dom.Node cloneNode(boolean parm1)
          Method is not implemented yet.
 short compareDocumentPosition(org.w3c.dom.Node arg0)
           
 org.w3c.dom.Attr createAttribute(java.lang.String qualifiedName)
           
 org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
           
 org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
           
 org.w3c.dom.Comment createComment(java.lang.String data)
           
 org.w3c.dom.DocumentFragment createDocumentFragment()
           
 org.w3c.dom.Element createElement(java.lang.String tagName)
           
 org.w3c.dom.Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
           
 org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
           
 org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data)
           
 org.w3c.dom.Text createTextNode(java.lang.String data)
           
protected  void doSetText(org.w3c.dom.Element element, java.lang.String text)
          Used internally to implement a setTextXXX() method.
 org.w3c.dom.NamedNodeMap getAttributes()
           
 java.lang.String getBaseURI()
           
 org.w3c.dom.NodeList getChildNodes()
           
 org.enhydra.xml.xmlc.XMLObject getDelegate()
           
 org.w3c.dom.DocumentType getDoctype()
           
 org.w3c.dom.Document getDocument()
           
 org.w3c.dom.Element getDocumentElement()
           
 java.lang.String getDocumentURI()
           
 org.w3c.dom.DOMConfiguration getDomConfig()
           
protected  org.enhydra.xml.xmlc.dom.XMLCDomFactory getDomFactory()
          Method is not implemented yet.
 org.w3c.dom.Element getElementById(java.lang.String elementId)
           
 org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
           
 org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
           
 java.lang.String getEncoding()
          See org.w3c.dom.Document#getEncoding
 java.lang.Object getFeature(java.lang.String arg0, java.lang.String arg1)
           
 org.w3c.dom.Node getFirstChild()
           
 org.w3c.dom.DOMImplementation getImplementation()
           
 java.lang.String getInputEncoding()
           
 org.w3c.dom.Node getLastChild()
           
 java.lang.String getLocalName()
           
 java.lang.String getMIMEType()
           
 java.lang.String getNamespaceURI()
           
 org.w3c.dom.Node getNextSibling()
           
 java.lang.String getNodeName()
           
 short getNodeType()
           
 java.lang.String getNodeValue()
           
 org.w3c.dom.Document getOwnerDocument()
           
 org.w3c.dom.Node getParentNode()
           
 java.lang.String getPrefix()
           
 org.w3c.dom.Node getPreviousSibling()
           
 boolean getStandalone()
          See org.w3c.dom.Document#getStandalone
 boolean getStrictErrorChecking()
          See org.w3c.dom.Document#getStrictErrorChecking
 java.lang.String getTextContent()
           
 java.lang.Object getUserData(java.lang.String arg0)
           
 java.lang.String getVersion()
          See org.w3c.dom.Document#getVersion()
 java.lang.String getXmlEncoding()
           
 boolean getXmlStandalone()
           
 java.lang.String getXmlVersion()
           
 boolean hasAttributes()
           
 boolean hasChildNodes()
           
 org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode, boolean deep)
           
 void initFields()
          Deprecated. Use syncAccessMethods() instead.
 org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild)
           
 boolean isDefaultNamespace(java.lang.String arg0)
           
 boolean isEqualNode(org.w3c.dom.Node arg0)
           
 boolean isSameNode(org.w3c.dom.Node arg0)
           
 boolean isSupported(java.lang.String feature, java.lang.String version)
           
 boolean isURLAttribute(org.w3c.dom.Element element, java.lang.String attrName)
           
 java.lang.String lookupNamespaceURI(java.lang.String arg0)
           
 java.lang.String lookupPrefix(java.lang.String arg0)
           
 void normalize()
           
 void normalizeDocument()
           
 org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
           
 org.w3c.dom.Node renameNode(org.w3c.dom.Node arg0, java.lang.String arg1, java.lang.String arg2)
           
 org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild)
           
 void setDelegate(org.enhydra.xml.xmlc.XMLObject delegate)
           
 void setDocument(org.w3c.dom.Document document, java.lang.String mimeType, java.lang.String encoding)
          Set the DOM document associated with this object and optional encoding.
 void setDocumentURI(java.lang.String arg0)
           
 void setEncoding(java.lang.String encoding)
          See org.w3c.dom.Document#setEncoding
 void setNodeValue(java.lang.String nodeValue)
           
 void setPrefix(java.lang.String prefix)
           
 void setStandalone(boolean standalone)
          See org.w3c.dom.Document#setStandalone
 void setStrictErrorChecking(boolean strictErrorChecking)
          See org.w3c.dom.Document#setStrictErrorChecking
 void setTextContent(java.lang.String arg0)
           
 java.lang.Object setUserData(java.lang.String arg0, java.lang.Object arg1, org.w3c.dom.UserDataHandler arg2)
           
 void setVersion(java.lang.String version)
          See org.w3c.dom.Document#setVersion
 void setXmlStandalone(boolean arg0)
           
 void setXmlVersion(java.lang.String arg0)
           
 void syncAccessMethods()
           
protected  void syncWithDocument(org.w3c.dom.Node node)
          Method is not implemented yet.
 java.lang.String toDocument()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleXMLObjectImpl

public SimpleXMLObjectImpl()
Constructor. The setDocument() method must be called to associate a document with this object.

Method Detail

cloneNode

public org.w3c.dom.Node cloneNode(boolean parm1)
Method is not implemented yet.

Specified by:
cloneNode in interface org.w3c.dom.Node
Parameters:
parm1 -
Returns:

syncWithDocument

protected void syncWithDocument(org.w3c.dom.Node node)
Method is not implemented yet.

Parameters:
node -

buildDocument

public void buildDocument()
Method is not implemented yet.

Specified by:
buildDocument in interface org.enhydra.xml.xmlc.XMLObject

getDomFactory

protected org.enhydra.xml.xmlc.dom.XMLCDomFactory getDomFactory()
Method is not implemented yet.

Returns:

setDocument

public void setDocument(org.w3c.dom.Document document,
                        java.lang.String mimeType,
                        java.lang.String encoding)
Set the DOM document associated with this object and optional encoding.

Parameters:
document - org.w3c.dom.Document implementation which should be associated with this object
mimeType - The MIME type associated with the document.
encoding - The encoding associated with the document.

getDocument

public org.w3c.dom.Document getDocument()
Specified by:
getDocument in interface org.enhydra.xml.xmlc.XMLObject
See Also:
XMLObject.getDocument()

getMIMEType

public java.lang.String getMIMEType()
Specified by:
getMIMEType in interface org.enhydra.xml.xmlc.XMLObject
See Also:
XMLObject.getMIMEType()

setDelegate

public void setDelegate(org.enhydra.xml.xmlc.XMLObject delegate)
Specified by:
setDelegate in interface org.enhydra.xml.xmlc.XMLObject
See Also:
XMLObject.setDelegate(org.enhydra.xml.xmlc.XMLObject)

getDelegate

public org.enhydra.xml.xmlc.XMLObject getDelegate()
Specified by:
getDelegate in interface org.enhydra.xml.xmlc.XMLObject
See Also:
XMLObject.getDelegate()

cloneDeepCheck

protected void cloneDeepCheck(boolean deep)
Check that cloneNode on an entire document is done with the deep option.


getDoctype

public org.w3c.dom.DocumentType getDoctype()
Specified by:
getDoctype in interface org.w3c.dom.Document
See Also:
Document.getDoctype()

getImplementation

public org.w3c.dom.DOMImplementation getImplementation()
Specified by:
getImplementation in interface org.w3c.dom.Document
See Also:
Document.getImplementation()

getDocumentElement

public org.w3c.dom.Element getDocumentElement()
Specified by:
getDocumentElement in interface org.w3c.dom.Document
See Also:
Document.getDocumentElement()

importNode

public org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode,
                                   boolean deep)
                            throws org.w3c.dom.DOMException
Specified by:
importNode in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException
See Also:
Document.importNode(org.w3c.dom.Node, boolean)

createElement

public org.w3c.dom.Element createElement(java.lang.String tagName)
                                  throws org.w3c.dom.DOMException
Specified by:
createElement in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException
See Also:
Document.createElement(java.lang.String)

createElementNS

public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI,
                                           java.lang.String qualifiedName)
                                    throws org.w3c.dom.DOMException
Specified by:
createElementNS in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException
See Also:
Document.createElementNS(java.lang.String, java.lang.String)

createDocumentFragment

public org.w3c.dom.DocumentFragment createDocumentFragment()
Specified by:
createDocumentFragment in interface org.w3c.dom.Document
See Also:
Document.createDocumentFragment()

createTextNode

public org.w3c.dom.Text createTextNode(java.lang.String data)
Specified by:
createTextNode in interface org.w3c.dom.Document
See Also:
Document.createTextNode(java.lang.String)

createComment

public org.w3c.dom.Comment createComment(java.lang.String data)
Specified by:
createComment in interface org.w3c.dom.Document
See Also:
Document.createComment(java.lang.String)

createCDATASection

public org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
                                            throws org.w3c.dom.DOMException
Specified by:
createCDATASection in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException
See Also:
Document.createCDATASection(java.lang.String)

createProcessingInstruction

public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target,
                                                                     java.lang.String data)
                                                              throws org.w3c.dom.DOMException
Specified by:
createProcessingInstruction in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException
See Also:
Document.createProcessingInstruction(java.lang.String, java.lang.String)

createAttribute

public org.w3c.dom.Attr createAttribute(java.lang.String qualifiedName)
                                 throws org.w3c.dom.DOMException
Specified by:
createAttribute in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException
See Also:
Document.createAttribute(java.lang.String)

createAttributeNS

public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI,
                                          java.lang.String qualifiedName)
                                   throws org.w3c.dom.DOMException
Specified by:
createAttributeNS in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException
See Also:
Document.createAttributeNS(java.lang.String, java.lang.String)

createEntityReference

public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
                                                  throws org.w3c.dom.DOMException
Specified by:
createEntityReference in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException
See Also:
Document.createEntityReference(java.lang.String)

getElementsByTagName

public org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
Specified by:
getElementsByTagName in interface org.w3c.dom.Document
See Also:
Document.getElementsByTagName(java.lang.String)

getElementsByTagNameNS

public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
                                                   java.lang.String localName)
Specified by:
getElementsByTagNameNS in interface org.w3c.dom.Document
See Also:
Document.getElementsByTagNameNS(java.lang.String, java.lang.String)

getElementById

public org.w3c.dom.Element getElementById(java.lang.String elementId)
Specified by:
getElementById in interface org.w3c.dom.Document
See Also:
Document.getElementById(java.lang.String)

getEncoding

public java.lang.String getEncoding()
See org.w3c.dom.Document#getEncoding

Specified by:
getEncoding in interface org.enhydra.xml.xmlc.XMLObject

setEncoding

public void setEncoding(java.lang.String encoding)
See org.w3c.dom.Document#setEncoding

Specified by:
setEncoding in interface org.enhydra.xml.xmlc.XMLObject

getStandalone

public boolean getStandalone()
See org.w3c.dom.Document#getStandalone

Specified by:
getStandalone in interface org.enhydra.xml.xmlc.XMLObject

setStandalone

public void setStandalone(boolean standalone)
See org.w3c.dom.Document#setStandalone

Specified by:
setStandalone in interface org.enhydra.xml.xmlc.XMLObject

getStrictErrorChecking

public boolean getStrictErrorChecking()
See org.w3c.dom.Document#getStrictErrorChecking

Specified by:
getStrictErrorChecking in interface org.enhydra.xml.xmlc.XMLObject
Specified by:
getStrictErrorChecking in interface org.w3c.dom.Document

setStrictErrorChecking

public void setStrictErrorChecking(boolean strictErrorChecking)
See org.w3c.dom.Document#setStrictErrorChecking

Specified by:
setStrictErrorChecking in interface org.enhydra.xml.xmlc.XMLObject
Specified by:
setStrictErrorChecking in interface org.w3c.dom.Document

getVersion

public java.lang.String getVersion()
See org.w3c.dom.Document#getVersion()

Specified by:
getVersion in interface org.enhydra.xml.xmlc.XMLObject

setVersion

public void setVersion(java.lang.String version)
See org.w3c.dom.Document#setVersion

Specified by:
setVersion in interface org.enhydra.xml.xmlc.XMLObject

adoptNode

public org.w3c.dom.Node adoptNode(org.w3c.dom.Node source)
                           throws org.w3c.dom.DOMException
See org.w3c.dom.Document#adoptNode

Specified by:
adoptNode in interface org.enhydra.xml.xmlc.XMLObject
Specified by:
adoptNode in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface org.w3c.dom.Node
See Also:
Node.getNodeName()

getNodeValue

public java.lang.String getNodeValue()
                              throws org.w3c.dom.DOMException
Specified by:
getNodeValue in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException
See Also:
Node.getNodeValue()

setNodeValue

public void setNodeValue(java.lang.String nodeValue)
                  throws org.w3c.dom.DOMException
Specified by:
setNodeValue in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException
See Also:
Node.setNodeValue(java.lang.String)

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface org.w3c.dom.Node
See Also:
Node.getNodeType()

getParentNode

public org.w3c.dom.Node getParentNode()
Specified by:
getParentNode in interface org.w3c.dom.Node
See Also:
Node.getParentNode()

getChildNodes

public org.w3c.dom.NodeList getChildNodes()
Specified by:
getChildNodes in interface org.w3c.dom.Node
See Also:
Node.getChildNodes()

getFirstChild

public org.w3c.dom.Node getFirstChild()
Specified by:
getFirstChild in interface org.w3c.dom.Node
See Also:
Node.getFirstChild()

getLastChild

public org.w3c.dom.Node getLastChild()
Specified by:
getLastChild in interface org.w3c.dom.Node
See Also:
Node.getLastChild()

getPreviousSibling

public org.w3c.dom.Node getPreviousSibling()
Specified by:
getPreviousSibling in interface org.w3c.dom.Node
See Also:
Node.getPreviousSibling()

getNextSibling

public org.w3c.dom.Node getNextSibling()
Specified by:
getNextSibling in interface org.w3c.dom.Node
See Also:
Node.getNextSibling()

getAttributes

public org.w3c.dom.NamedNodeMap getAttributes()
Specified by:
getAttributes in interface org.w3c.dom.Node
See Also:
Node.getAttributes()

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
Specified by:
getOwnerDocument in interface org.w3c.dom.Node
See Also:
Node.getOwnerDocument()

insertBefore

public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild,
                                     org.w3c.dom.Node refChild)
                              throws org.w3c.dom.DOMException
Specified by:
insertBefore in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException
See Also:
Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)

replaceChild

public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild,
                                     org.w3c.dom.Node oldChild)
                              throws org.w3c.dom.DOMException
Specified by:
replaceChild in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException
See Also:
Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)

removeChild

public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
                             throws org.w3c.dom.DOMException
Specified by:
removeChild in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException
See Also:
Node.removeChild(org.w3c.dom.Node)

appendChild

public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
                             throws org.w3c.dom.DOMException
Specified by:
appendChild in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException
See Also:
Node.appendChild(org.w3c.dom.Node)

normalize

public void normalize()
Specified by:
normalize in interface org.w3c.dom.Node
See Also:
Node.normalize()

isSupported

public boolean isSupported(java.lang.String feature,
                           java.lang.String version)
Specified by:
isSupported in interface org.w3c.dom.Node
See Also:
Node.isSupported(String, String)

getNamespaceURI

public java.lang.String getNamespaceURI()
Specified by:
getNamespaceURI in interface org.w3c.dom.Node
See Also:
Node.getNamespaceURI()

getPrefix

public java.lang.String getPrefix()
Specified by:
getPrefix in interface org.w3c.dom.Node
See Also:
Node.getPrefix()

setPrefix

public void setPrefix(java.lang.String prefix)
Specified by:
setPrefix in interface org.w3c.dom.Node
See Also:
Node.setPrefix(java.lang.String)

getLocalName

public java.lang.String getLocalName()
Specified by:
getLocalName in interface org.w3c.dom.Node
See Also:
Node.getLocalName()

hasChildNodes

public boolean hasChildNodes()
Specified by:
hasChildNodes in interface org.w3c.dom.Node
See Also:
Node.hasChildNodes()

hasAttributes

public boolean hasAttributes()
Specified by:
hasAttributes in interface org.w3c.dom.Node
See Also:
Node.hasAttributes()

toDocument

public java.lang.String toDocument()
Specified by:
toDocument in interface org.enhydra.xml.xmlc.XMLObject
See Also:
XMLObject.toDocument()

syncAccessMethods

public void syncAccessMethods()
Specified by:
syncAccessMethods in interface org.enhydra.xml.xmlc.XMLObject
See Also:
XMLObject.syncAccessMethods()

initFields

public void initFields()
Deprecated. Use syncAccessMethods() instead.

Old method to initialize the fields used by the generated access methods from the current state of the document. This method was poorly named and is deprecated.

See Also:
syncAccessMethods(org.w3c.dom.Node)

isURLAttribute

public boolean isURLAttribute(org.w3c.dom.Element element,
                              java.lang.String attrName)
Specified by:
isURLAttribute in interface org.enhydra.xml.io.DocumentInfo
See Also:
DocumentInfo.isURLAttribute(org.w3c.dom.Element, java.lang.String)

doSetText

protected final void doSetText(org.w3c.dom.Element element,
                               java.lang.String text)
Used internally to implement a setTextXXX() method. Adds check for for null value and helps to minimizes the amount of generated code.


getInputEncoding

public java.lang.String getInputEncoding()
Specified by:
getInputEncoding in interface org.w3c.dom.Document

getXmlEncoding

public java.lang.String getXmlEncoding()
Specified by:
getXmlEncoding in interface org.w3c.dom.Document

getXmlStandalone

public boolean getXmlStandalone()
Specified by:
getXmlStandalone in interface org.w3c.dom.Document

setXmlStandalone

public void setXmlStandalone(boolean arg0)
                      throws org.w3c.dom.DOMException
Specified by:
setXmlStandalone in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException

getXmlVersion

public java.lang.String getXmlVersion()
Specified by:
getXmlVersion in interface org.w3c.dom.Document

setXmlVersion

public void setXmlVersion(java.lang.String arg0)
                   throws org.w3c.dom.DOMException
Specified by:
setXmlVersion in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException

getDocumentURI

public java.lang.String getDocumentURI()
Specified by:
getDocumentURI in interface org.w3c.dom.Document

setDocumentURI

public void setDocumentURI(java.lang.String arg0)
Specified by:
setDocumentURI in interface org.w3c.dom.Document

getDomConfig

public org.w3c.dom.DOMConfiguration getDomConfig()
Specified by:
getDomConfig in interface org.w3c.dom.Document

normalizeDocument

public void normalizeDocument()
Specified by:
normalizeDocument in interface org.w3c.dom.Document

renameNode

public org.w3c.dom.Node renameNode(org.w3c.dom.Node arg0,
                                   java.lang.String arg1,
                                   java.lang.String arg2)
                            throws org.w3c.dom.DOMException
Specified by:
renameNode in interface org.w3c.dom.Document
Throws:
org.w3c.dom.DOMException

getBaseURI

public java.lang.String getBaseURI()
Specified by:
getBaseURI in interface org.w3c.dom.Node

compareDocumentPosition

public short compareDocumentPosition(org.w3c.dom.Node arg0)
                              throws org.w3c.dom.DOMException
Specified by:
compareDocumentPosition in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

getTextContent

public java.lang.String getTextContent()
                                throws org.w3c.dom.DOMException
Specified by:
getTextContent in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

setTextContent

public void setTextContent(java.lang.String arg0)
                    throws org.w3c.dom.DOMException
Specified by:
setTextContent in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

isSameNode

public boolean isSameNode(org.w3c.dom.Node arg0)
Specified by:
isSameNode in interface org.w3c.dom.Node

lookupPrefix

public java.lang.String lookupPrefix(java.lang.String arg0)
Specified by:
lookupPrefix in interface org.w3c.dom.Node

isDefaultNamespace

public boolean isDefaultNamespace(java.lang.String arg0)
Specified by:
isDefaultNamespace in interface org.w3c.dom.Node

lookupNamespaceURI

public java.lang.String lookupNamespaceURI(java.lang.String arg0)
Specified by:
lookupNamespaceURI in interface org.w3c.dom.Node

isEqualNode

public boolean isEqualNode(org.w3c.dom.Node arg0)
Specified by:
isEqualNode in interface org.w3c.dom.Node

getFeature

public java.lang.Object getFeature(java.lang.String arg0,
                                   java.lang.String arg1)
Specified by:
getFeature in interface org.w3c.dom.Node

setUserData

public java.lang.Object setUserData(java.lang.String arg0,
                                    java.lang.Object arg1,
                                    org.w3c.dom.UserDataHandler arg2)
Specified by:
setUserData in interface org.w3c.dom.Node

getUserData

public java.lang.Object getUserData(java.lang.String arg0)
Specified by:
getUserData in interface org.w3c.dom.Node

EAF 7.4 Util