org.apache.xerces.dom
public abstract class ChildNode extends NodeImpl
Version: $Id: ChildNode.java,v 1.10 2004/10/05 17:12:51 mrglavas Exp $
| Field Summary | |
|---|---|
| protected ChildNode | nextSibling Next sibling. |
| protected ChildNode | previousSibling Previous sibling. |
| Constructor Summary | |
|---|---|
| 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. |
| ChildNode() Constructor for serialization. | |
| Method Summary | |
|---|---|
| Node | cloneNode(boolean deep)
Returns a duplicate of a given node. |
| Node | getNextSibling() The next child of this node's parent, or null if none |
| Node | getParentNode()
Returns the parent node of this node |
| Node | getPreviousSibling() The previous child of this node's parent, or null if none |
Every Node knows what Document it belongs to.
Note: since we never have any children deep is meaningless here, ParentNode overrides this behavior.