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.
|
childNodes
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 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, replaceChild
addEventListener, 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, willTriggerNS
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isReadonly, setReadonly
protected 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.Node
getParentNode
in class AbstractNode
parentNode
public void setParentNode(org.w3c.dom.Node v)
setParentNode
in interface ExtendedNode
setParentNode
in class AbstractNode
public void setPreviousSibling(org.w3c.dom.Node v)
setPreviousSibling
in interface ExtendedNode
setPreviousSibling
in class AbstractNode
public org.w3c.dom.Node getPreviousSibling()
Node.getPreviousSibling()
.getPreviousSibling
in interface org.w3c.dom.Node
getPreviousSibling
in class AbstractNode
previousSibling
.public void setNextSibling(org.w3c.dom.Node v)
setNextSibling
in interface ExtendedNode
setNextSibling
in class AbstractNode
public org.w3c.dom.Node getNextSibling()
Node.getNextSibling()
.getNextSibling
in interface org.w3c.dom.Node
getNextSibling
in class AbstractNode
nextSibling
.Copyright ? 2015 Apache Software Foundation. All Rights Reserved.