|
|||||||||||
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. |
Constructor Summary | |
---|---|
NodeImpl()
|
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 Node appendChild(Node newChild) throws DOMException
appendChild
in interface Node
DOMException
public short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition
in interface Node
other
-
DOMException
- - neverpublic NamedNodeMap getAttributes()
getAttributes
in interface Node
public String getBaseURI()
getBaseURI
in interface Node
public Object getFeature(String feature, String version)
getFeature
in interface Node
version
- feature
-
public String getNodeName()
getNodeName
in interface Node
public Document getOwnerDocument()
getOwnerDocument
in interface Node
public Attribute getParentNode()
getParentNode
in interface Node
public String getTextContent() throws DOMException
getTextContent
in interface Node
DOMException
public Object getUserData(String key)
getUserData
in interface Node
key
-
public boolean hasAttributes()
hasAttributes
in interface Node
public boolean hasChildNodes()
hasChildNodes
in interface Node
public Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore
in interface Node
DOMException
public boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace
in interface Node
protected String internalNSLookup(String prefix)
public boolean isEqualNode(Node other)
isEqualNode
in interface Node
public boolean isSameNode(Node other)
isSameNode
in interface Node
public boolean isSupported(String feature, String version)
isSupported
in interface Node
feature
- version
-
public String lookupNamespaceURI(String prefix)
lookupNamespaceURI
in interface Node
public String lookupPrefix(String namespaceURI)
lookupPrefix
in interface Node
protected String internalLookupPrefix(String namespaceURI)
public void normalize()
normalize
in interface Node
public Node removeChild(Node oldChild) throws DOMException
removeChild
in interface Node
DOMException
public Node replaceChild(Node newChild, Node oldChild)
replaceChild
in interface Node
public void setTextContent(String textContent)
setTextContent
in interface Node
public Object setUserData(String key, Object data, UserDataHandler handler)
setUserData
in interface Node
key
- data
- handler
-
public NodeList getChildNodes()
getChildNodes
in interface Node
public Node getFirstChild()
getFirstChild
in interface Node
public Node getLastChild()
getLastChild
in interface Node
public Node getNextSibling()
getNextSibling
in interface Node
public Node getPreviousSibling()
getPreviousSibling
in interface Node
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |