public class DataNode
extends java.lang.Object
implements org.w3c.dom.Node
org.w3c.dom.Node with the
addition of a method, specific for the Data log entry
getName(). It is also required that the Data has
at least one child, the content.
TODO: once ACS has fully moved to J2SE 5, the new DOM Level 3 methods should be fully implemented
instead of the current mock impl. On first sight it seems that the getUserObject method could
have something to do with the name variable.
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 and Description |
|---|
DataNode(org.w3c.dom.Node node)
DataNode constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node arg1)
appendChild method comment.
|
org.w3c.dom.Node |
cloneNode(boolean arg1)
cloneNode method comment.
|
short |
compareDocumentPosition(org.w3c.dom.Node other)
DOM level 3 method, not implemented.
|
org.w3c.dom.NamedNodeMap |
getAttributes()
getAttributes method comment.
|
java.lang.String |
getBaseURI()
DOM level 3 method, not implemented.
|
org.w3c.dom.NodeList |
getChildNodes()
getChildNodes method comment.
|
java.lang.Object |
getFeature(java.lang.String feature,
java.lang.String version)
DOM level 3 method, not implemented.
|
org.w3c.dom.Node |
getFirstChild()
getFirstChild method comment.
|
org.w3c.dom.Node |
getLastChild()
getLastChild method comment.
|
java.lang.String |
getLocalName()
getLocalName method comment.
|
java.lang.String |
getName() |
java.lang.String |
getNamespaceURI()
getNamespaceURI method comment.
|
org.w3c.dom.Node |
getNextSibling()
getNextSibling method comment.
|
java.lang.String |
getNodeName()
getNodeName method comment.
|
short |
getNodeType()
getNodeType method comment.
|
java.lang.String |
getNodeValue()
getNodeValue method comment.
|
org.w3c.dom.Document |
getOwnerDocument()
getOwnerDocument method comment.
|
org.w3c.dom.Node |
getParentNode()
getParentNode method comment.
|
java.lang.String |
getPrefix()
getPrefix method comment.
|
org.w3c.dom.Node |
getPreviousSibling()
getPreviousSibling method comment.
|
java.lang.String |
getTextContent()
DOM level 3 method, not implemented.
|
java.lang.Object |
getUserData(java.lang.String key)
DOM level 3 method, not implemented.
|
boolean |
hasAttributes()
hasAttributes method comment.
|
boolean |
hasChildNodes()
hasChildNodes method comment.
|
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node arg1,
org.w3c.dom.Node arg2)
insertBefore method comment.
|
boolean |
isDefaultNamespace(java.lang.String namespaceURI)
DOM level 3 method, not implemented.
|
boolean |
isEqualNode(org.w3c.dom.Node arg)
DOM level 3 method, not implemented.
|
boolean |
isSameNode(org.w3c.dom.Node other)
DOM level 3 method, not implemented.
|
boolean |
isSupported(java.lang.String arg1,
java.lang.String arg2)
isSupported method comment.
|
java.lang.String |
lookupNamespaceURI(java.lang.String prefix)
DOM level 3 method, not implemented.
|
java.lang.String |
lookupPrefix(java.lang.String namespaceURI)
DOM level 3 method, not implemented.
|
void |
normalize()
normalize method comment.
|
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node arg1)
removeChild method comment.
|
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node arg1,
org.w3c.dom.Node arg2)
replaceChild method comment.
|
void |
setNodeValue(java.lang.String arg1)
setNodeValue method comment.
|
void |
setPrefix(java.lang.String arg1)
setPrefix method comment.
|
void |
setTextContent(java.lang.String textContent)
DOM level 3 method, not implemented.
|
java.lang.Object |
setUserData(java.lang.String key,
java.lang.Object data,
org.w3c.dom.UserDataHandler handler)
DOM level 3 method, not implemented.
|
java.lang.String |
toString() |
public DataNode(org.w3c.dom.Node node)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic org.w3c.dom.Node appendChild(org.w3c.dom.Node arg1)
throws org.w3c.dom.DOMException
appendChild in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic org.w3c.dom.Node cloneNode(boolean arg1)
cloneNode in interface org.w3c.dom.Nodepublic org.w3c.dom.NamedNodeMap getAttributes()
getAttributes in interface org.w3c.dom.Nodepublic org.w3c.dom.NodeList getChildNodes()
getChildNodes in interface org.w3c.dom.Nodepublic org.w3c.dom.Node getFirstChild()
getFirstChild in interface org.w3c.dom.Nodepublic org.w3c.dom.Node getLastChild()
getLastChild in interface org.w3c.dom.Nodepublic java.lang.String getLocalName()
getLocalName in interface org.w3c.dom.Nodepublic java.lang.String getName()
public java.lang.String getNamespaceURI()
getNamespaceURI in interface org.w3c.dom.Nodepublic org.w3c.dom.Node getNextSibling()
getNextSibling in interface org.w3c.dom.Nodepublic java.lang.String getNodeName()
getNodeName in interface org.w3c.dom.Nodepublic short getNodeType()
getNodeType in interface org.w3c.dom.Nodepublic java.lang.String getNodeValue()
throws org.w3c.dom.DOMException
getNodeValue in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic org.w3c.dom.Document getOwnerDocument()
getOwnerDocument in interface org.w3c.dom.Nodepublic org.w3c.dom.Node getParentNode()
getParentNode in interface org.w3c.dom.Nodepublic java.lang.String getPrefix()
getPrefix in interface org.w3c.dom.Nodepublic org.w3c.dom.Node getPreviousSibling()
getPreviousSibling in interface org.w3c.dom.Nodepublic boolean hasAttributes()
hasAttributes in interface org.w3c.dom.Nodepublic boolean hasChildNodes()
hasChildNodes in interface org.w3c.dom.Nodepublic org.w3c.dom.Node insertBefore(org.w3c.dom.Node arg1,
org.w3c.dom.Node arg2)
throws org.w3c.dom.DOMException
insertBefore in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic boolean isSupported(java.lang.String arg1,
java.lang.String arg2)
isSupported in interface org.w3c.dom.Nodepublic void normalize()
normalize in interface org.w3c.dom.Nodepublic org.w3c.dom.Node removeChild(org.w3c.dom.Node arg1)
throws org.w3c.dom.DOMException
removeChild in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic org.w3c.dom.Node replaceChild(org.w3c.dom.Node arg1,
org.w3c.dom.Node arg2)
throws org.w3c.dom.DOMException
replaceChild in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic void setNodeValue(java.lang.String arg1)
throws org.w3c.dom.DOMException
setNodeValue in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic void setPrefix(java.lang.String arg1)
throws org.w3c.dom.DOMException
setPrefix in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic short compareDocumentPosition(org.w3c.dom.Node other)
throws org.w3c.dom.DOMException
compareDocumentPosition in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionNode.compareDocumentPosition(org.w3c.dom.Node)public java.lang.String getBaseURI()
getBaseURI in interface org.w3c.dom.NodeNode.getBaseURI()public java.lang.Object getFeature(java.lang.String feature,
java.lang.String version)
getFeature in interface org.w3c.dom.NodeNode.getFeature(java.lang.String, java.lang.String)public java.lang.String getTextContent()
throws org.w3c.dom.DOMException
getTextContent in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionNode.getTextContent()public java.lang.Object getUserData(java.lang.String key)
getUserData in interface org.w3c.dom.NodeNode.getUserData(java.lang.String)public boolean isDefaultNamespace(java.lang.String namespaceURI)
isDefaultNamespace in interface org.w3c.dom.NodeNode.isDefaultNamespace(java.lang.String)public boolean isEqualNode(org.w3c.dom.Node arg)
isEqualNode in interface org.w3c.dom.NodeNode.isEqualNode(org.w3c.dom.Node)public boolean isSameNode(org.w3c.dom.Node other)
isSameNode in interface org.w3c.dom.NodeNode.isSameNode(org.w3c.dom.Node)public java.lang.String lookupNamespaceURI(java.lang.String prefix)
lookupNamespaceURI in interface org.w3c.dom.NodeNode.lookupNamespaceURI(java.lang.String)public java.lang.String lookupPrefix(java.lang.String namespaceURI)
lookupPrefix in interface org.w3c.dom.NodeNode.lookupPrefix(java.lang.String)public void setTextContent(java.lang.String textContent)
throws org.w3c.dom.DOMException
setTextContent in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionNode.setTextContent(java.lang.String)public java.lang.Object setUserData(java.lang.String key,
java.lang.Object data,
org.w3c.dom.UserDataHandler handler)
setUserData in interface org.w3c.dom.NodeNode.setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)