| Modifier and Type | Field and Description |
|---|---|
| protected ChildNode | nextSibling
Next sibling. |
| protected ChildNode | previousSibling
Previous sibling. |
| pack-priv static final long | serialVersionUID
Serialization version.
|
| Access | Constructor and Description |
|---|---|
| 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. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Node | cloneNode(boolean
If deep)true, recursively clone the subtree under
the specified node; if false, clone only the node
itself (and its attributes, if it is an Element).Overrides org. Implements org. |
| public Node | getNextSibling()
Overrides org. Implements org. |
| public Node | getParentNode()
Overrides org. Implements org. |
| public Node | getPreviousSibling()
Overrides org. Implements org. |
| pack-priv final NodeImpl | |
| pack-priv final ChildNode |
| nextSibling | back to summary |
|---|---|
| protected ChildNode nextSibling Next sibling. | |
| previousSibling | back to summary |
|---|---|
| protected ChildNode previousSibling Previous sibling. | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides org. Serialization version. | |
| ChildNode | back to 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 | back to summary |
|---|---|
| public ChildNode() Constructor for serialization. | |
| cloneNode | back to summary |
|---|---|
| public Node cloneNode(boolean deep) Overrides org. Implements org. Returns a duplicate of a given node. You can consider this a generic "copy constructor" for nodes. The newly returned object should be completely independent of the source object's subtree, so changes in one after the clone has been made will not affect the other. Note since we never have any children deep is meaningless here, ParentNode overrides this behavior.
| |
| getNextSibling | back to summary |
|---|---|
| public Node getNextSibling() Overrides org. Implements org. The next child of this node's parent, or null if none | |
| getParentNode | back to summary |
|---|---|
| public Node getParentNode() Overrides org. Implements org. Returns the parent node of this node | |
| getPreviousSibling | back to summary |
|---|---|
| public Node getPreviousSibling() Overrides org. Implements org. The previous child of this node's parent, or null if none | |
| parentNode | back to summary |
|---|---|
| pack-priv final NodeImpl parentNode() Overrides org. | |
| previousSibling | back to summary |
|---|---|
| pack-priv final ChildNode previousSibling() | |