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

java.lang.Object
  extended by org.apache.axiom.om.impl.dom.NodeImpl
      extended by org.apache.axiom.om.impl.dom.ChildNode
          extended by org.apache.axiom.om.impl.dom.ParentNode
              extended by org.apache.axiom.om.impl.dom.DocumentFragmentImpl
All Implemented Interfaces:
java.lang.Cloneable, org.apache.axiom.om.impl.OMContainerEx, org.apache.axiom.om.impl.OMNodeEx, org.apache.axiom.om.OMContainer, org.apache.axiom.om.OMNode, org.w3c.dom.DocumentFragment, org.w3c.dom.Node, org.w3c.dom.NodeList

public class DocumentFragmentImpl
extends ParentNode
implements org.w3c.dom.DocumentFragment


Field Summary
 
Fields inherited from class org.apache.axiom.om.impl.dom.ParentNode
firstChild, lastChild
 
Fields inherited from class org.apache.axiom.om.impl.dom.ChildNode
nextSibling, parentNode, previousSibling
 
Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl
builder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED
 
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
 
Fields inherited from interface org.apache.axiom.om.OMNode
DTD_NODE, PI_NODE, SPACE_NODE
 
Constructor Summary
DocumentFragmentImpl(DocumentImpl ownerDocument, org.apache.axiom.om.OMFactory factory)
           
 
Method Summary
 java.lang.String getNodeName()
           
 short getNodeType()
           
 int getType()
           
 void internalSerialize(javax.xml.stream.XMLStreamWriter writer)
           
 void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
           
 void serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
           
 void serializeAndConsume(javax.xml.stream.XMLStreamWriter xmlWriter)
           
 void setType(int nodeType)
           
 
Methods inherited from class org.apache.axiom.om.impl.dom.ParentNode
addChild, buildNext, cloneNode, getChildNodes, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChild, getFirstChildWithName, getFirstOMChild, getLastChild, hasChildNodes, importNode, insertBefore, removeChild, replaceChild, setFirstChild, setLastChild
 
Methods inherited from class org.apache.axiom.om.impl.dom.ChildNode
detach, discard, getNextOMSibling, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSibling
 
Methods inherited from class org.apache.axiom.om.impl.dom.NodeImpl
appendChild, build, buildWithAttachments, close, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLength, getLocalName, getNamespaceURI, getNodeValue, getOMFactory, getOwnerDocument, getPrefix, getTextContent, getUserData, hasAttributes, internalSerializeWithCache, isComplete, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isNormalized, isNormalized, isOwned, isOwned, isReadonly, isReadonly, isSameNode, isSpecified, isSpecified, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, parentNode, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNodeValue, setOwnerDocument, setPrefix, 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.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 
Methods inherited from interface org.apache.axiom.om.impl.OMContainerEx
setComplete
 
Methods inherited from interface org.apache.axiom.om.OMContainer
isComplete
 

Constructor Detail

DocumentFragmentImpl

public DocumentFragmentImpl(DocumentImpl ownerDocument,
                            org.apache.axiom.om.OMFactory factory)
Parameters:
ownerDocument -
Method Detail

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface org.w3c.dom.Node

getNodeName

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

getType

public int getType()
            throws org.apache.axiom.om.OMException
Specified by:
getType in interface org.apache.axiom.om.OMNode
Throws:
org.apache.axiom.om.OMException

setType

public void setType(int nodeType)
             throws org.apache.axiom.om.OMException
Specified by:
setType in interface org.apache.axiom.om.impl.OMNodeEx
Throws:
org.apache.axiom.om.OMException

internalSerialize

public void internalSerialize(javax.xml.stream.XMLStreamWriter writer)
                       throws javax.xml.stream.XMLStreamException
Specified by:
internalSerialize in interface org.apache.axiom.om.impl.OMNodeEx
Throws:
javax.xml.stream.XMLStreamException

serialize

public void serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
               throws javax.xml.stream.XMLStreamException
Specified by:
serialize in interface org.apache.axiom.om.OMNode
Overrides:
serialize in class NodeImpl
Throws:
javax.xml.stream.XMLStreamException

internalSerializeAndConsume

public void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
                                 throws javax.xml.stream.XMLStreamException
Specified by:
internalSerializeAndConsume in interface org.apache.axiom.om.impl.OMNodeEx
Throws:
javax.xml.stream.XMLStreamException

serializeAndConsume

public void serializeAndConsume(javax.xml.stream.XMLStreamWriter xmlWriter)
                         throws javax.xml.stream.XMLStreamException
Specified by:
serializeAndConsume in interface org.apache.axiom.om.OMNode
Overrides:
serializeAndConsume in class NodeImpl
Throws:
javax.xml.stream.XMLStreamException