public abstract class LeafNode extends NodeImpl implements IChildNode
factory, FIRSTCHILD, flags, HAS_PARENT, SPECIFIED
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
ATTRIBUTE_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 |
---|---|
Node |
appendChild(Node newChild) |
void |
build()
Builds itself.
|
void |
discard()
Discards a node.
|
OMXMLParserWrapper |
getBuilder() |
NodeList |
getChildNodes() |
IParentNode |
getIParentNode() |
OMNode |
getNextOMSibling()
Returns the next sibling in document order.
|
Node |
getNextSibling() |
Node |
insertBefore(Node newChild,
Node refChild) |
boolean |
isComplete()
Indicates whether parser has parsed this information item completely or not.
|
String |
lookupNamespaceURI(String specifiedPrefix) |
Node |
removeChild(Node oldChild) |
Node |
replaceChild(Node newChild,
Node oldChild) |
void |
setComplete(boolean state) |
buildWithAttachments, clone, cloneNode, close, compareDocumentPosition, detach, getAttributes, getBaseURI, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextOMSiblingIfAvailable, getNodeValue, getOMFactory, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousOMSibling, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerialize, internalSerializeAndConsume, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupPrefix, normalize, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setNextOMSibling, setNodeValue, setParent, setParent, setPrefix, setPreviousOMSibling, setTextContent, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextOMSiblingIfAvailable, internalSerialize, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setParent, setPreviousOMSibling
buildWithAttachments, detach, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
close, serialize, serialize, serializeAndConsume
clone, getOMFactory
getNodeName, getNodeType
public LeafNode(OMFactory factory)
public final NodeList getChildNodes()
getChildNodes
in interface Node
public final Node appendChild(Node newChild) throws DOMException
appendChild
in interface Node
DOMException
public final Node removeChild(Node oldChild) throws DOMException
removeChild
in interface Node
DOMException
public final Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore
in interface Node
DOMException
public final Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild
in interface Node
DOMException
public final OMXMLParserWrapper getBuilder()
getBuilder
in class NodeImpl
public final boolean isComplete()
OMSerializable
isComplete
in interface OMSerializable
isComplete
in class NodeImpl
public final void setComplete(boolean state)
setComplete
in interface OMNodeEx
setComplete
in class NodeImpl
public final void discard() throws OMException
OMNode
discard
in interface OMNode
OMException
public final void build()
OMSerializable
build
in interface OMSerializable
public final OMNode getNextOMSibling() throws OMException
OMNode
getNextOMSibling
in interface OMNode
OMException
public final Node getNextSibling()
getNextSibling
in interface Node
public final IParentNode getIParentNode()
getIParentNode
in interface IChildNode
public final String lookupNamespaceURI(String specifiedPrefix)
lookupNamespaceURI
in interface Node
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.