com.redspr.beanldom.stree
Class ChildNode
java.lang.Object
|
+--com.redspr.beanldom.stree.NodeImpl
|
+--com.redspr.beanldom.stree.ChildNode
- All Implemented Interfaces:
- Node
- Direct Known Subclasses:
- ElementBase
- public abstract class ChildNode
- extends NodeImpl
Base class for Elements providing support for siblings.
Delegates working out siblings to its parent
- Author:
- Sam Hough
Fields inherited from interface org.w3c.dom.Node |
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 |
Methods inherited from class com.redspr.beanldom.stree.NodeImpl |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNodeValue, getPrefix, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix, toString |
ChildNode
protected ChildNode(NodeImpl parentNode2)
getParentNode
public final Node getParentNode()
- Specified by:
getParentNode
in interface Node
- Overrides:
getParentNode
in class NodeImpl
getPreviousSibling
public Node getPreviousSibling()
- Specified by:
getPreviousSibling
in interface Node
- Overrides:
getPreviousSibling
in class NodeImpl
setPreviousSibling
protected final void setPreviousSibling(ChildNode p0)
getNextSibling
public final Node getNextSibling()
- Specified by:
getNextSibling
in interface Node
- Overrides:
getNextSibling
in class NodeImpl
setNextSibling
protected final void setNextSibling(ChildNode p0)