org.apache.xerces.dom
Class ChildNode
- Cloneable, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, Serializable
public abstract class ChildNode
ChildNode inherits from NodeImpl and adds the capability of being a child by
having references to its previous and next siblings.
Version:
DOCUMENT_POSITION_CONTAINS , DOCUMENT_POSITION_DISCONNECTED , DOCUMENT_POSITION_FOLLOWING , DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC , DOCUMENT_POSITION_IS_CONTAINED , DOCUMENT_POSITION_PRECEDING , ELEMENT_DEFINITION_NODE , FIRSTCHILD , HASSTRING , ID , IGNORABLEWS , NORMALIZED , OWNED , READONLY , SPECIFIED , SYNCCHILDREN , SYNCDATA , TREE_POSITION_ANCESTOR , TREE_POSITION_DESCENDANT , TREE_POSITION_DISCONNECTED , TREE_POSITION_EQUIVALENT , TREE_POSITION_FOLLOWING , TREE_POSITION_PRECEDING , TREE_POSITION_SAME_NODE , flags , ownerNode |
ATTRIBUTE_NODE , CDATA_SECTION_NODE , COMMENT_NODE , DOCUMENT_FRAGMENT_NODE , DOCUMENT_NODE , DOCUMENT_TYPE_NODE , ELEMENT_NODE , ENTITY_NODE , ENTITY_REFERENCE_NODE , NOTATION_NODE , PROCESSING_INSTRUCTION_NODE , TEXT_NODE |
ChildNode() - Constructor for serialization.
|
ChildNode(CoreDocumentImpl ownerDocument) - No public constructor; only subclasses of Node should be
instantiated, and those normally via a Document's factory methods
Every Node knows what Document it belongs to.
|
org.w3c.dom.Node | cloneNode(boolean deep) - Returns a duplicate of a given node.
|
org.w3c.dom.Node | getNextSibling() - The next child of this node's parent, or null if none
|
org.w3c.dom.Node | getParentNode() - Returns the parent node of this node
|
org.w3c.dom.Node | getPreviousSibling() - The previous child of this node's parent, or null if none
|
addEventListener , appendChild , changed , changes , cloneNode , compareDocumentPosition , compareTreePosition , dispatchEvent , getAttributes , getBaseURI , getChildNodes , getContainer , getFeature , getFirstChild , getLastChild , getLength , getLocalName , getNamespaceURI , getNextSibling , getNodeName , getNodeNumber , getNodeType , getNodeValue , getOwnerDocument , getParentNode , getPrefix , getPreviousSibling , getReadOnly , getTextContent , getUserData , getUserData , hasAttributes , hasChildNodes , insertBefore , isDefaultNamespace , isEqualNode , isSameNode , isSupported , item , lookupNamespaceURI , lookupPrefix , needsSyncChildren , normalize , removeChild , removeEventListener , replaceChild , setNodeValue , setPrefix , setReadOnly , setTextContent , setUserData , setUserData , synchronizeData , toString |
nextSibling
protected ChildNode nextSibling
Next sibling.
previousSibling
protected ChildNode previousSibling
Previous sibling.
ChildNode
public ChildNode()
Constructor for serialization.
ChildNode
protected ChildNode(CoreDocumentImpl ownerDocument)
No public constructor; only subclasses of Node should be
instantiated, and those normally via a Document's factory methods
Every Node knows what Document it belongs to.
getNextSibling
public org.w3c.dom.Node getNextSibling()
The next child of this node's parent, or null if none
- getNextSibling in interface org.w3c.dom.Node
- getNextSibling in interface NodeImpl
getParentNode
public org.w3c.dom.Node getParentNode()
Returns the parent node of this node
- getParentNode in interface org.w3c.dom.Node
- getParentNode in interface NodeImpl
getPreviousSibling
public org.w3c.dom.Node getPreviousSibling()
The previous child of this node's parent, or null if none
- getPreviousSibling in interface org.w3c.dom.Node
- getPreviousSibling in interface NodeImpl
Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.