public abstract class LeafNode extends NodeImpl implements IChildNode
| Modifier and Type | Field and Description |
|---|---|
private NodeImpl |
nextSibling |
private ParentNode |
ownerNode |
private NodeImpl |
previousSibling |
factory, FIRSTCHILD, flags, HAS_PARENT, SPECIFIEDCDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODEATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild) |
(package private) void |
beforeClone(OMCloneOptions options) |
void |
build()
Builds itself.
|
(package private) NodeImpl |
clone(OMCloneOptions options,
ParentNode targetParent,
boolean deep,
boolean namespaceRepairing) |
(package private) abstract LeafNode |
createClone() |
void |
discard()
Discards a node.
|
OMXMLParserWrapper |
getBuilder() |
org.w3c.dom.NodeList |
getChildNodes() |
IParentNode |
getIParentNode() |
OMNode |
getNextOMSibling()
Returns the next sibling in document order.
|
org.w3c.dom.Node |
getNextSibling() |
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild) |
(package private) NodeImpl |
internalGetNextSibling() |
(package private) ParentNode |
internalGetOwnerNode()
Get the parent or the owner document of the node.
|
(package private) NodeImpl |
internalGetPreviousSibling() |
(package private) void |
internalSetNextSibling(NodeImpl nextSibling) |
(package private) void |
internalSetOwnerNode(ParentNode ownerNode) |
(package private) void |
internalSetPreviousSibling(NodeImpl previousSibling) |
boolean |
isComplete()
Indicates whether parser has parsed this information item completely or not.
|
java.lang.String |
lookupNamespaceURI(java.lang.String specifiedPrefix) |
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild) |
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild) |
void |
setComplete(boolean state) |
buildWithAttachments, checkSameOwnerDocument, clone, cloneNode, close, compareDocumentPosition, detach, detach, getAttributes, getBaseURI, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextOMSiblingIfAvailable, getNodeValue, getOMFactory, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousOMSibling, getPreviousSibling, getTextContent, getTextContent, getUserData, hasAttributes, hasChildNodes, hasParent, hasParent, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerialize, internalSerializeAndConsume, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isSameNode, isSpecified, isSpecified, isSupported, lookupPrefix, normalize, normalize, ownerDocument, parentNode, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setNextOMSibling, setNodeValue, setOwnerDocument, setParent, setParent, setPrefix, setPreviousOMSibling, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNextOMSiblingIfAvailable, internalSerialize, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setParent, setPreviousOMSiblingbuildWithAttachments, detach, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumeclose, serialize, serialize, serializeAndConsumeclone, getOMFactoryprivate ParentNode ownerNode
private NodeImpl previousSibling
private NodeImpl nextSibling
public LeafNode(OMFactory factory)
final ParentNode internalGetOwnerNode()
NodeImplNodeImpl.HAS_PARENT flag.internalGetOwnerNode in class NodeImplfinal void internalSetOwnerNode(ParentNode ownerNode)
internalSetOwnerNode in class NodeImplfinal NodeImpl internalGetPreviousSibling()
internalGetPreviousSibling in class NodeImplfinal NodeImpl internalGetNextSibling()
internalGetNextSibling in class NodeImplfinal void internalSetPreviousSibling(NodeImpl previousSibling)
internalSetPreviousSibling in class NodeImplfinal void internalSetNextSibling(NodeImpl nextSibling)
internalSetNextSibling in class NodeImplpublic final org.w3c.dom.NodeList getChildNodes()
getChildNodes in interface org.w3c.dom.Nodepublic final org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
throws org.w3c.dom.DOMException
appendChild in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic final org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
throws org.w3c.dom.DOMException
removeChild in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic final org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
throws org.w3c.dom.DOMException
insertBefore in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionpublic final org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
throws org.w3c.dom.DOMException
replaceChild in interface org.w3c.dom.Nodeorg.w3c.dom.DOMExceptionfinal NodeImpl clone(OMCloneOptions options, ParentNode targetParent, boolean deep, boolean namespaceRepairing)
void beforeClone(OMCloneOptions options)
abstract LeafNode createClone()
public final OMXMLParserWrapper getBuilder()
getBuilder in class NodeImplpublic final boolean isComplete()
OMSerializableisComplete in interface OMSerializableisComplete in class NodeImplpublic final void setComplete(boolean state)
setComplete in interface OMNodeExsetComplete in class NodeImplpublic final void discard()
throws OMException
OMNodediscard in interface OMNodeOMExceptionpublic final void build()
OMSerializablebuild in interface OMSerializablebuild in class NodeImplpublic final OMNode getNextOMSibling() throws OMException
OMNodegetNextOMSibling in interface OMNodeOMExceptionpublic final org.w3c.dom.Node getNextSibling()
getNextSibling in interface org.w3c.dom.Nodepublic final IParentNode getIParentNode()
getIParentNode in interface IChildNodepublic final java.lang.String lookupNamespaceURI(java.lang.String specifiedPrefix)
lookupNamespaceURI in interface org.w3c.dom.Node