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

Field Summary
 
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
 
Constructor Summary
protected ChildNode(NodeImpl parentNode2)
           
 
Method Summary
 Node getNextSibling()
           
 Node getParentNode()
           
 Node getPreviousSibling()
           
protected  void setNextSibling(ChildNode p0)
           
protected  void setPreviousSibling(ChildNode p0)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
getNodeName, getNodeType, getOwnerDocument
 

Constructor Detail

ChildNode

protected ChildNode(NodeImpl parentNode2)
Method Detail

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)