public abstract class LeafNode extends NodeImpl implements IChildNode
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 |
|---|---|
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, 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, getOMFactorygetNodeName, getNodeTypepublic LeafNode(OMFactory factory)
public final NodeList getChildNodes()
getChildNodes in interface Nodepublic final Node appendChild(Node newChild) throws DOMException
appendChild in interface NodeDOMExceptionpublic final Node removeChild(Node oldChild) throws DOMException
removeChild in interface NodeDOMExceptionpublic final Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore in interface NodeDOMExceptionpublic final Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild in interface NodeDOMExceptionpublic 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 OMSerializablepublic final OMNode getNextOMSibling() throws OMException
OMNodegetNextOMSibling in interface OMNodeOMExceptionpublic final Node getNextSibling()
getNextSibling in interface Nodepublic final IParentNode getIParentNode()
getIParentNode in interface IChildNodepublic final String lookupNamespaceURI(String specifiedPrefix)
lookupNamespaceURI in interface NodeCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.