org.apache.batik.dom

Class AbstractChildNode

public abstract class AbstractChildNode extends AbstractNode

This class implements the org.w3c.dom.Node interface with support for parent and siblings.
Field Summary
protected NodenextSibling
Returns the next sibling.
protected NodeparentNode
The parent node of this node.
protected NodepreviousSibling
The previous sibling.
Method Summary
NodegetNextSibling()
DOM: Implements org.w3c.dom.Node#getNextSibling().
NodegetParentNode()
DOM: Implements org.w3c.dom.Node#getParentNode().
NodegetPreviousSibling()
DOM: Implements org.w3c.dom.Node#getPreviousSibling().
voidsetNextSibling(Node v)
Sets the node immediately following this node.
voidsetParentNode(Node v)
Sets the parent node.
voidsetPreviousSibling(Node v)
Sets the node immediately preceding this node.

Field Detail

nextSibling

protected Node nextSibling
Returns the next sibling.

parentNode

protected Node parentNode
The parent node of this node.

previousSibling

protected Node previousSibling
The previous sibling.

Method Detail

getNextSibling

public Node getNextSibling()
DOM: Implements org.w3c.dom.Node#getNextSibling().

Returns: nextSibling.

getParentNode

public Node getParentNode()
DOM: Implements org.w3c.dom.Node#getParentNode().

Returns: parentNode

getPreviousSibling

public Node getPreviousSibling()
DOM: Implements org.w3c.dom.Node#getPreviousSibling().

Returns: previousSibling.

setNextSibling

public void setNextSibling(Node v)
Sets the node immediately following this node.

setParentNode

public void setParentNode(Node v)
Sets the parent node.

setPreviousSibling

public void setPreviousSibling(Node v)
Sets the node immediately preceding this node.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.