org.apache.batik.dom
Class AbstractChildNode
java.lang.Object
|
+--org.apache.batik.dom.AbstractNode
|
+--org.apache.batik.dom.AbstractChildNode
- All Implemented Interfaces:
- EventTarget, ExtendedNode, Node, NodeEventTarget, java.io.Serializable
- Direct Known Subclasses:
- AbstractCharacterData, AbstractProcessingInstruction
- public abstract class AbstractChildNode
- extends AbstractNode
This class implements the Node
interface with support
for parent and siblings.
- See Also:
- Serialized Form
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 org.apache.batik.dom.AbstractNode |
addEventListener, appendChild, checkChildType, cloneNode, copyInto, createDOMException, deepCopyInto, deepExport, dispatchEvent, export, fireDOMCharacterDataModifiedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedFromDocumentEvent, getAttributes, getChildNodes, getCurrentDocument, getEventSupport, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNodeValue, getOwnerDocument, getParentNodeEventTarget, getPrefix, hasAttributes, hasChildNodes, insertBefore, isSupported, newNode, normalize, removeChild, removeEventListener, replaceChild, setNodeName, setNodeValue, setOwnerDocument, setPrefix, setSpecified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parentNode
protected Node parentNode
- The parent node of this node.
previousSibling
protected Node previousSibling
- The previous sibling.
nextSibling
protected Node nextSibling
- Returns the next sibling.
AbstractChildNode
public AbstractChildNode()
getParentNode
public Node getParentNode()
- DOM: Implements
Node.getParentNode()
.
- Overrides:
getParentNode
in class AbstractNode
- Returns:
parentNode
setParentNode
public void setParentNode(Node v)
- Sets the parent node.
- Overrides:
setParentNode
in class AbstractNode
setPreviousSibling
public void setPreviousSibling(Node v)
- Sets the node immediately preceding this node.
- Overrides:
setPreviousSibling
in class AbstractNode
getPreviousSibling
public Node getPreviousSibling()
- DOM: Implements
Node.getPreviousSibling()
.
- Overrides:
getPreviousSibling
in class AbstractNode
- Returns:
previousSibling
.
setNextSibling
public void setNextSibling(Node v)
- Sets the node immediately following this node.
- Overrides:
setNextSibling
in class AbstractNode
getNextSibling
public Node getNextSibling()
- DOM: Implements
Node.getNextSibling()
.
- Overrides:
getNextSibling
in class AbstractNode
- Returns:
nextSibling
.
Copyright © 2002 Apache Software Foundation. All Rights Reserved.