|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.entry.NodeImpl
public abstract class NodeImpl
Basic implementation of the Node
interface. Each descendant, except
for those that implement the Document
interface, should follow the
general contract:
Field Summary | |
---|---|
protected Attribute |
parent
This private variable holds a reference to the parent of this element. |
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 | |
---|---|
NodeImpl()
|
Method Summary | |
---|---|
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild)
This private variable holds a reference to the document of this element. |
short |
compareDocumentPosition(org.w3c.dom.Node other)
Does nothing! |
org.w3c.dom.NamedNodeMap |
getAttributes()
|
java.lang.String |
getBaseURI()
Does Nothing! |
org.w3c.dom.NodeList |
getChildNodes()
|
java.lang.Object |
getFeature(java.lang.String feature,
java.lang.String version)
Does Nothing! |
org.w3c.dom.Node |
getFirstChild()
|
org.w3c.dom.Node |
getLastChild()
|
org.w3c.dom.Node |
getNextSibling()
|
java.lang.String |
getNodeName()
|
org.w3c.dom.Document |
getOwnerDocument()
|
Attribute |
getParentNode()
|
org.w3c.dom.Node |
getPreviousSibling()
|
java.lang.String |
getTextContent()
|
java.lang.Object |
getUserData(java.lang.String key)
Does nothing! |
boolean |
hasAttributes()
|
boolean |
hasChildNodes()
|
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
|
protected java.lang.String |
internalLookupPrefix(java.lang.String namespaceURI)
|
protected java.lang.String |
internalNSLookup(java.lang.String prefix)
|
boolean |
isDefaultNamespace(java.lang.String namespaceURI)
|
boolean |
isEqualNode(org.w3c.dom.Node other)
|
boolean |
isSameNode(org.w3c.dom.Node other)
|
boolean |
isSupported(java.lang.String feature,
java.lang.String version)
Does nothing! |
java.lang.String |
lookupNamespaceURI(java.lang.String prefix)
|
java.lang.String |
lookupPrefix(java.lang.String namespaceURI)
|
void |
normalize()
Not Supported! |
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild)
|
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
|
void |
setTextContent(java.lang.String textContent)
|
java.lang.Object |
setUserData(java.lang.String key,
java.lang.Object data,
org.w3c.dom.UserDataHandler handler)
Does nothing! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
---|
cloneNode, getLocalName, getNamespaceURI, getNodeType, getNodeValue, getPrefix, setNodeValue, setPrefix |
Field Detail |
---|
protected transient Attribute parent
Constructor Detail |
---|
public NodeImpl()
Method Detail |
---|
public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) throws DOMException
appendChild
in interface org.w3c.dom.Node
DOMException
public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
compareDocumentPosition
in interface org.w3c.dom.Node
other
-
DOMException
- - neverpublic org.w3c.dom.NamedNodeMap getAttributes()
getAttributes
in interface org.w3c.dom.Node
public java.lang.String getBaseURI()
getBaseURI
in interface org.w3c.dom.Node
public java.lang.Object getFeature(java.lang.String feature, java.lang.String version)
getFeature
in interface org.w3c.dom.Node
version
- feature
-
public java.lang.String getNodeName()
getNodeName
in interface org.w3c.dom.Node
public org.w3c.dom.Document getOwnerDocument()
getOwnerDocument
in interface org.w3c.dom.Node
public Attribute getParentNode()
getParentNode
in interface org.w3c.dom.Node
public java.lang.String getTextContent() throws DOMException
getTextContent
in interface org.w3c.dom.Node
DOMException
public java.lang.Object getUserData(java.lang.String key)
getUserData
in interface org.w3c.dom.Node
key
-
public boolean hasAttributes()
hasAttributes
in interface org.w3c.dom.Node
public boolean hasChildNodes()
hasChildNodes
in interface org.w3c.dom.Node
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild) throws DOMException
insertBefore
in interface org.w3c.dom.Node
DOMException
public boolean isDefaultNamespace(java.lang.String namespaceURI)
isDefaultNamespace
in interface org.w3c.dom.Node
protected java.lang.String internalNSLookup(java.lang.String prefix)
public boolean isEqualNode(org.w3c.dom.Node other)
isEqualNode
in interface org.w3c.dom.Node
public boolean isSameNode(org.w3c.dom.Node other)
isSameNode
in interface org.w3c.dom.Node
public boolean isSupported(java.lang.String feature, java.lang.String version)
isSupported
in interface org.w3c.dom.Node
feature
- version
-
public java.lang.String lookupNamespaceURI(java.lang.String prefix)
lookupNamespaceURI
in interface org.w3c.dom.Node
public java.lang.String lookupPrefix(java.lang.String namespaceURI)
lookupPrefix
in interface org.w3c.dom.Node
protected java.lang.String internalLookupPrefix(java.lang.String namespaceURI)
public void normalize()
normalize
in interface org.w3c.dom.Node
public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild) throws DOMException
removeChild
in interface org.w3c.dom.Node
DOMException
public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild)
replaceChild
in interface org.w3c.dom.Node
public void setTextContent(java.lang.String textContent)
setTextContent
in interface org.w3c.dom.Node
public java.lang.Object setUserData(java.lang.String key, java.lang.Object data, org.w3c.dom.UserDataHandler handler)
setUserData
in interface org.w3c.dom.Node
key
- data
- handler
-
public org.w3c.dom.NodeList getChildNodes()
getChildNodes
in interface org.w3c.dom.Node
public org.w3c.dom.Node getFirstChild()
getFirstChild
in interface org.w3c.dom.Node
public org.w3c.dom.Node getLastChild()
getLastChild
in interface org.w3c.dom.Node
public org.w3c.dom.Node getNextSibling()
getNextSibling
in interface org.w3c.dom.Node
public org.w3c.dom.Node getPreviousSibling()
getPreviousSibling
in interface org.w3c.dom.Node
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |