org.apache.axiom.om.impl.dom
Class LeafNode

java.lang.Object
  extended by org.apache.axiom.om.impl.dom.NodeImpl
      extended by org.apache.axiom.om.impl.dom.LeafNode
All Implemented Interfaces:
IChildNode, OMNodeEx, OMInformationItem, OMNode, OMSerializable, org.w3c.dom.Node
Direct Known Subclasses:
CharacterImpl, DocumentTypeImpl, EntityReferenceImpl, ProcessingInstructionImpl

public abstract class LeafNode
extends NodeImpl
implements IChildNode


Field Summary
 
Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl
factory, FIRSTCHILD, flags, HAS_PARENT, SPECIFIED
 
Fields inherited from interface org.apache.axiom.om.OMNode
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
 
Fields inherited from interface org.w3c.dom.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
 
Constructor Summary
LeafNode(OMFactory factory)
           
 
Method Summary
 org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
           
 void build()
           
 void discard()
           
 OMXMLParserWrapper getBuilder()
           
 org.w3c.dom.NodeList getChildNodes()
           
 IParentNode getIParentNode()
           
 OMNode getNextOMSibling()
           
 org.w3c.dom.Node getNextSibling()
           
 org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild)
           
 boolean isComplete()
           
 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)
           
 
Methods inherited from class org.apache.axiom.om.impl.dom.NodeImpl
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axiom.om.impl.OMNodeEx
getNextOMSiblingIfAvailable, internalSerialize, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setParent, setPreviousOMSibling
 
Methods inherited from interface org.apache.axiom.om.OMNode
buildWithAttachments, detach, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
 
Methods inherited from interface org.apache.axiom.om.OMSerializable
close, serialize, serialize, serializeAndConsume
 
Methods inherited from interface org.apache.axiom.om.OMInformationItem
clone, getOMFactory
 
Methods inherited from interface org.w3c.dom.Node
getNodeName, getNodeType
 

Constructor Detail

LeafNode

public LeafNode(OMFactory factory)
Method Detail

getChildNodes

public final org.w3c.dom.NodeList getChildNodes()
Specified by:
getChildNodes in interface org.w3c.dom.Node

appendChild

public final org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
                                   throws org.w3c.dom.DOMException
Specified by:
appendChild in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

removeChild

public final org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
                                   throws org.w3c.dom.DOMException
Specified by:
removeChild in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

insertBefore

public final org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild,
                                           org.w3c.dom.Node refChild)
                                    throws org.w3c.dom.DOMException
Specified by:
insertBefore in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

replaceChild

public final org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild,
                                           org.w3c.dom.Node oldChild)
                                    throws org.w3c.dom.DOMException
Specified by:
replaceChild in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

getBuilder

public final OMXMLParserWrapper getBuilder()
Specified by:
getBuilder in class NodeImpl

isComplete

public final boolean isComplete()
Specified by:
isComplete in interface OMSerializable
Specified by:
isComplete in class NodeImpl

setComplete

public final void setComplete(boolean state)
Specified by:
setComplete in interface OMNodeEx
Specified by:
setComplete in class NodeImpl

discard

public final void discard()
                   throws OMException
Specified by:
discard in interface OMNode
Throws:
OMException

build

public final void build()
Specified by:
build in interface OMSerializable

getNextOMSibling

public final OMNode getNextOMSibling()
                              throws OMException
Specified by:
getNextOMSibling in interface OMNode
Throws:
OMException

getNextSibling

public final org.w3c.dom.Node getNextSibling()
Specified by:
getNextSibling in interface org.w3c.dom.Node

getIParentNode

public final IParentNode getIParentNode()
Specified by:
getIParentNode in interface IChildNode

lookupNamespaceURI

public final java.lang.String lookupNamespaceURI(java.lang.String specifiedPrefix)
Specified by:
lookupNamespaceURI in interface org.w3c.dom.Node


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.