public abstract class AbstractParentChildNode extends AbstractParentNode
Node interface with support
for children, parent and siblings.AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS| Modifier and Type | Field and Description |
|---|---|
protected org.w3c.dom.Node |
nextSibling
Returns the next sibling.
|
protected org.w3c.dom.Node |
parentNode
The parent node of this node.
|
protected org.w3c.dom.Node |
previousSibling
The previous sibling.
|
childNodesDOCUMENT_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 and Description |
|---|
AbstractParentChildNode() |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Node |
getNextSibling()
DOM: Implements
Node.getNextSibling(). |
org.w3c.dom.Node |
getParentNode()
DOM: Implements
Node.getParentNode(). |
org.w3c.dom.Node |
getPreviousSibling()
DOM: Implements
Node.getPreviousSibling(). |
void |
setNextSibling(org.w3c.dom.Node v)
Sets the node immediately following this node.
|
void |
setParentNode(org.w3c.dom.Node v)
Sets the parent node.
|
void |
setPreviousSibling(org.w3c.dom.Node v)
Sets the node immediately preceding this node.
|
appendChild, checkAndRemove, deepCopyInto, deepExport, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, fireDOMSubtreeModifiedEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getTextContent, hasChildNodes, insertBefore, nodeAdded, nodeToBeRemoved, normalize, removeChild, replaceChildaddEventListener, addEventListenerNS, checkChildType, cloneNode, compareDocumentPosition, compareNamedNodeMaps, compareStrings, copyInto, createDOMException, dispatchEvent, export, fireDOMCharacterDataModifiedEvent, fireUserDataHandlers, getAttributes, getBaseURI, getBaseURI, getCascadedXMLBase, getCurrentDocument, getEventSupport, getFeature, getLocalName, getManagerData, getNamespaceURI, getNodeValue, getOwnerDocument, getParentNodeEventTarget, getPrefix, getUserData, getXblBoundElement, getXblChildNodes, getXblDefinitions, getXblFirstChild, getXblFirstElementChild, getXblLastChild, getXblLastElementChild, getXblNextElementSibling, getXblNextSibling, getXblParentNode, getXblPreviousElementSibling, getXblPreviousSibling, getXblScopedChildNodes, getXblShadowTree, hasAttributes, hasEventListenerNS, initializeEventSupport, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, newNode, removeEventListener, removeEventListenerNS, setManagerData, setNodeName, setNodeValue, setOwnerDocument, setPrefix, setSpecified, setTextContent, setUserData, willTriggerNSclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisReadonly, setReadonlyprotected org.w3c.dom.Node parentNode
protected org.w3c.dom.Node previousSibling
protected org.w3c.dom.Node nextSibling
public org.w3c.dom.Node getParentNode()
Node.getParentNode().getParentNode in interface org.w3c.dom.NodegetParentNode in class AbstractNodeparentNodepublic void setParentNode(org.w3c.dom.Node v)
setParentNode in interface ExtendedNodesetParentNode in class AbstractNodepublic void setPreviousSibling(org.w3c.dom.Node v)
setPreviousSibling in interface ExtendedNodesetPreviousSibling in class AbstractNodepublic org.w3c.dom.Node getPreviousSibling()
Node.getPreviousSibling().getPreviousSibling in interface org.w3c.dom.NodegetPreviousSibling in class AbstractNodepreviousSibling.public void setNextSibling(org.w3c.dom.Node v)
setNextSibling in interface ExtendedNodesetNextSibling in class AbstractNodepublic org.w3c.dom.Node getNextSibling()
Node.getNextSibling().getNextSibling in interface org.w3c.dom.NodegetNextSibling in class AbstractNodenextSibling.Copyright ? 2009 Apache Software Foundation. All Rights Reserved.