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