xtc.driver.XTCdom
Class Node
java.lang.Object
xtc.driver.XTCdom.Node
- All Implemented Interfaces:
- Node
- Direct Known Subclasses:
- Attr, CharacterData, Document, Element
public class Node
- extends Object
- implements Node
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 |
connectionID
protected XTCconnectionID connectionID
transaction
protected XTCtransaction transaction
xtcDomRmi
protected XTCdomRmi xtcDomRmi
nodeType
protected short nodeType
nodeName
protected XTCnode nodeName
nodeValue
protected XTCnode nodeValue
nodeBuffer
protected NodeBuffer nodeBuffer
Node
Node()
Node
Node(short nodeType)
Node
Node(short nodeType,
NodeBuffer nodeBuffer)
Node
Node(XTCconnectionID connectionID,
XTCtransaction transaction,
XTCdomRmi xtcDomRmi,
short nodeType)
Node
Node(XTCconnectionID connectionID,
XTCtransaction transaction,
XTCdomRmi xtcDomRmi,
short nodeType,
NodeBuffer nodeBuffer)
getMD5hashCode
public byte[] getMD5hashCode()
throws DOMException
- Calculates the MD5 hash code of this node based on the XTC node name, the
XTC node value, and their deweyIDs.
- Returns:
- The MD5 hash code of this node.
- Throws:
DOMException
appendChild
public Node appendChild(Node newChild)
throws DOMException
- Specified by:
appendChild
in interface Node
- Throws:
DOMException
cloneNode
public Node cloneNode(boolean deep)
throws DOMException
- Specified by:
cloneNode
in interface Node
- Throws:
DOMException
compareDocumentPosition
public short compareDocumentPosition(Node other)
throws DOMException
- Specified by:
compareDocumentPosition
in interface Node
- Throws:
DOMException
getAttributes
public NamedNodeMap getAttributes()
throws DOMException
- Specified by:
getAttributes
in interface Node
- Throws:
DOMException
getBaseURI
public String getBaseURI()
- Specified by:
getBaseURI
in interface Node
getChildNodes
public NodeList getChildNodes()
throws DOMException
- Specified by:
getChildNodes
in interface Node
- Throws:
DOMException
getFragmentNodes
public NodeList getFragmentNodes()
throws DOMException
- Throws:
DOMException
getFeature
public String getFeature(String feature,
String version)
- Specified by:
getFeature
in interface Node
getFirstChild
public Node getFirstChild()
throws DOMException
- Specified by:
getFirstChild
in interface Node
- Throws:
DOMException
getLastChild
public Node getLastChild()
throws DOMException
- Specified by:
getLastChild
in interface Node
- Throws:
DOMException
getLocalName
public String getLocalName()
throws DOMException
- Specified by:
getLocalName
in interface Node
- Throws:
DOMException
getNamespaceURI
public String getNamespaceURI()
throws DOMException
- Specified by:
getNamespaceURI
in interface Node
- Throws:
DOMException
getNextSibling
public Node getNextSibling()
throws DOMException
- Specified by:
getNextSibling
in interface Node
- Throws:
DOMException
getNodeName
public String getNodeName()
throws DOMException
- Specified by:
getNodeName
in interface Node
- Throws:
DOMException
getNodeType
public short getNodeType()
throws DOMException
- Specified by:
getNodeType
in interface Node
- Throws:
DOMException
getNodeValue
public String getNodeValue()
throws DOMException
- Specified by:
getNodeValue
in interface Node
- Throws:
DOMException
getOwnerDocument
public Document getOwnerDocument()
throws DOMException
- Specified by:
getOwnerDocument
in interface Node
- Throws:
DOMException
getParentNode
public Node getParentNode()
throws DOMException
- Specified by:
getParentNode
in interface Node
- Throws:
DOMException
getPrefix
public String getPrefix()
throws DOMException
- Specified by:
getPrefix
in interface Node
- Throws:
DOMException
getPreviousSibling
public Node getPreviousSibling()
throws DOMException
- Specified by:
getPreviousSibling
in interface Node
- Throws:
DOMException
getTextContent
public String getTextContent()
throws DOMException
- Specified by:
getTextContent
in interface Node
- Throws:
DOMException
getUserData
public Object getUserData(String key)
throws DOMException
- Specified by:
getUserData
in interface Node
- Throws:
DOMException
hasAttributes
public boolean hasAttributes()
throws DOMException
- Specified by:
hasAttributes
in interface Node
- Throws:
DOMException
hasChildNodes
public boolean hasChildNodes()
throws DOMException
- Specified by:
hasChildNodes
in interface Node
- Throws:
DOMException
insertBefore
public Node insertBefore(Node newChild,
Node refChild)
throws DOMException
- Specified by:
insertBefore
in interface Node
- Throws:
DOMException
isDefaultNamespace
public boolean isDefaultNamespace(String namespaceURI)
throws DOMException
- Specified by:
isDefaultNamespace
in interface Node
- Throws:
DOMException
isEqualNode
public boolean isEqualNode(Node arg)
throws DOMException
- Specified by:
isEqualNode
in interface Node
- Throws:
DOMException
isSameNode
public boolean isSameNode(Node other)
throws DOMException
- Specified by:
isSameNode
in interface Node
- Throws:
DOMException
isSupported
public boolean isSupported(String feature,
String version)
throws DOMException
- Specified by:
isSupported
in interface Node
- Throws:
DOMException
lookupNamespaceURI
public String lookupNamespaceURI(String prefix)
throws DOMException
- Specified by:
lookupNamespaceURI
in interface Node
- Throws:
DOMException
lookupPrefix
public String lookupPrefix(String namespaceURI)
throws DOMException
- Specified by:
lookupPrefix
in interface Node
- Throws:
DOMException
normalize
public void normalize()
throws DOMException
- Specified by:
normalize
in interface Node
- Throws:
DOMException
removeChild
public Node removeChild(Node oldChild)
throws DOMException
- Specified by:
removeChild
in interface Node
- Throws:
DOMException
replaceChild
public Node replaceChild(Node newChild,
Node oldChild)
throws DOMException
- Specified by:
replaceChild
in interface Node
- Throws:
DOMException
setNodeValue
public void setNodeValue(String nodeValue)
throws DOMException
- Specified by:
setNodeValue
in interface Node
- Throws:
DOMException
setPrefix
public void setPrefix(String prefix)
throws DOMException
- Specified by:
setPrefix
in interface Node
- Throws:
DOMException
setTextContent
public void setTextContent(String textContent)
throws DOMException
- Specified by:
setTextContent
in interface Node
- Throws:
DOMException
setUserData
public Object setUserData(String key,
Object data,
UserDataHandler handler)
throws DOMException
- Specified by:
setUserData
in interface Node
- Throws:
DOMException
getXTCdomRmi
public XTCdomRmi getXTCdomRmi()
createDomNode
public Node createDomNode(XTCnode node)
getDomNodeType
private int getDomNodeType(int xtcNodeType)
getXTCnameID
public String getXTCnameID()
getXTCvalueID
public String getXTCvalueID()
toString
public String toString()
- Overrides:
toString
in class Object