Package org.apache.batik.dom
Class AbstractChildNode
- java.lang.Object
-
- org.apache.batik.dom.AbstractNode
-
- org.apache.batik.dom.AbstractChildNode
-
- All Implemented Interfaces:
java.io.Serializable,NodeEventTarget,ExtendedNode,NodeXBL,XBLManagerData,org.w3c.dom.events.EventTarget,org.w3c.dom.Node
- Direct Known Subclasses:
AbstractCharacterData,AbstractProcessingInstruction,GenericDocumentType
public abstract class AbstractChildNode extends AbstractNode
This class implements theNodeinterface with support for parent and siblings.- Version:
- $Id: AbstractChildNode.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.w3c.dom.NodenextSiblingReturns the next sibling.protected org.w3c.dom.NodeparentNodeThe parent node of this node.protected org.w3c.dom.NodepreviousSiblingThe previous sibling.-
Fields inherited from class org.apache.batik.dom.AbstractNode
DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, EMPTY_NODE_LIST, eventSupport, managerData, ownerDocument, userData, userDataHandlers
-
-
Constructor Summary
Constructors Constructor Description AbstractChildNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.NodegetNextSibling()DOM: ImplementsNode.getNextSibling().org.w3c.dom.NodegetParentNode()DOM: ImplementsNode.getParentNode().org.w3c.dom.NodegetPreviousSibling()DOM: ImplementsNode.getPreviousSibling().voidsetNextSibling(org.w3c.dom.Node v)Sets the node immediately following this node.voidsetParentNode(org.w3c.dom.Node v)Sets the parent node.voidsetPreviousSibling(org.w3c.dom.Node v)Sets the node immediately preceding this node.-
Methods inherited from class org.apache.batik.dom.AbstractNode
addEventListener, addEventListenerNS, appendChild, checkChildType, cloneNode, compareDocumentPosition, compareNamedNodeMaps, compareStrings, copyInto, createDOMException, deepCopyInto, deepExport, dispatchEvent, export, fireDOMCharacterDataModifiedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedFromDocumentEvent, fireUserDataHandlers, getAttributes, getBaseURI, getBaseURI, getCascadedXMLBase, getChildNodes, getCurrentDocument, getEventSupport, getFeature, getFirstChild, getLastChild, getLocalName, getManagerData, getNamespaceURI, getNodeValue, getOwnerDocument, getParentNodeEventTarget, getPrefix, getTextContent, getUserData, getXblBoundElement, getXblChildNodes, getXblDefinitions, getXblFirstChild, getXblFirstElementChild, getXblLastChild, getXblLastElementChild, getXblNextElementSibling, getXblNextSibling, getXblParentNode, getXblPreviousElementSibling, getXblPreviousSibling, getXblScopedChildNodes, getXblShadowTree, hasAttributes, hasChildNodes, hasEventListenerNS, initializeEventSupport, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, newNode, normalize, removeChild, removeEventListener, removeEventListenerNS, replaceChild, setManagerData, setNodeName, setNodeValue, setOwnerDocument, setPrefix, setSpecified, setTextContent, setUserData, willTriggerNS
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.batik.dom.ExtendedNode
isReadonly, setReadonly
-
-
-
-
Method Detail
-
getParentNode
public org.w3c.dom.Node getParentNode()
DOM: ImplementsNode.getParentNode().- Specified by:
getParentNodein interfaceorg.w3c.dom.Node- Overrides:
getParentNodein classAbstractNode- Returns:
parentNode
-
setParentNode
public void setParentNode(org.w3c.dom.Node v)
Sets the parent node.- Specified by:
setParentNodein interfaceExtendedNode- Overrides:
setParentNodein classAbstractNode
-
setPreviousSibling
public void setPreviousSibling(org.w3c.dom.Node v)
Sets the node immediately preceding this node.- Specified by:
setPreviousSiblingin interfaceExtendedNode- Overrides:
setPreviousSiblingin classAbstractNode
-
getPreviousSibling
public org.w3c.dom.Node getPreviousSibling()
DOM: ImplementsNode.getPreviousSibling().- Specified by:
getPreviousSiblingin interfaceorg.w3c.dom.Node- Overrides:
getPreviousSiblingin classAbstractNode- Returns:
previousSibling.
-
setNextSibling
public void setNextSibling(org.w3c.dom.Node v)
Sets the node immediately following this node.- Specified by:
setNextSiblingin interfaceExtendedNode- Overrides:
setNextSiblingin classAbstractNode
-
getNextSibling
public org.w3c.dom.Node getNextSibling()
DOM: ImplementsNode.getNextSibling().- Specified by:
getNextSiblingin interfaceorg.w3c.dom.Node- Overrides:
getNextSiblingin classAbstractNode- Returns:
nextSibling.
-
-