org.apache.axis2.om.impl.dom
Class DocumentFragmentimpl
java.lang.Object
org.apache.axis2.om.impl.dom.NodeImpl
org.apache.axis2.om.impl.dom.ChildNode
org.apache.axis2.om.impl.dom.ParentNode
org.apache.axis2.om.impl.dom.DocumentFragmentimpl
- All Implemented Interfaces:
- Cloneable, DocumentFragment, Node, NodeList, org.apache.ws.commons.om.OMContainer, org.apache.ws.commons.om.impl.OMContainerEx, org.apache.ws.commons.om.OMNode, org.apache.ws.commons.om.impl.OMNodeEx
- public class DocumentFragmentimpl
- extends ParentNode
- implements DocumentFragment
Fields inherited from class org.apache.axis2.om.impl.dom.NodeImpl |
builder, done, factory, FIRSTCHILD, flags, nodeType, 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_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Fields inherited from interface org.apache.ws.commons.om.OMNode |
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
Methods inherited from class org.apache.axis2.om.impl.dom.ParentNode |
addChild, buildNext, cloneNode, getChildNodes, getChildren, getChildrenWithName, getFirstChild, getFirstChildWithName, getFirstOMChild, getLastChild, hasChildNodes, insertBefore, removeChild, replaceChild, setFirstChild |
Methods inherited from class org.apache.axis2.om.impl.dom.ChildNode |
detach, discard, getNextOMSibling, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSibling |
Methods inherited from class org.apache.axis2.om.impl.dom.NodeImpl |
appendChild, build, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLength, getLocalName, getNamespaceURI, getNodeValue, getOMFactory, getOwnerDocument, getPrefix, getTextContent, getUserData, hasAttributes, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, 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, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.apache.ws.commons.om.impl.OMContainerEx |
setComplete |
Methods inherited from interface org.apache.ws.commons.om.OMContainer |
isComplete |
DocumentFragmentimpl
public DocumentFragmentimpl(DocumentImpl ownerDocument,
org.apache.ws.commons.om.OMFactory factory)
- Parameters:
ownerDocument
-
getNodeType
public short getNodeType()
- Specified by:
getNodeType
in interface Node
getNodeName
public String getNodeName()
- Specified by:
getNodeName
in interface Node
getType
public int getType()
throws org.apache.ws.commons.om.OMException
- Specified by:
getType
in interface org.apache.ws.commons.om.OMNode
- Throws:
org.apache.ws.commons.om.OMException
setType
public void setType(int nodeType)
throws org.apache.ws.commons.om.OMException
- Specified by:
setType
in interface org.apache.ws.commons.om.impl.OMNodeEx
- Throws:
org.apache.ws.commons.om.OMException
serializeWithCache
public void serializeWithCache(org.apache.ws.commons.om.impl.OMOutputImpl omOutput)
throws XMLStreamException
- Description copied from class:
NodeImpl
- There no concept of caching in this OM-DOM implementation.
- Overrides:
serializeWithCache
in class NodeImpl
- Throws:
XMLStreamException
serialize
public void serialize(org.apache.ws.commons.om.impl.OMOutputImpl omOutput)
throws XMLStreamException
- Specified by:
serialize
in interface org.apache.ws.commons.om.impl.OMNodeEx
- Throws:
XMLStreamException
serialize
public void serialize(XMLStreamWriter xmlWriter)
throws XMLStreamException
- Specified by:
serialize
in interface org.apache.ws.commons.om.OMNode
- Overrides:
serialize
in class NodeImpl
- Throws:
XMLStreamException
serializeAndConsume
public void serializeAndConsume(org.apache.ws.commons.om.impl.OMOutputImpl omOutput)
throws XMLStreamException
- Specified by:
serializeAndConsume
in interface org.apache.ws.commons.om.impl.OMNodeEx
- Throws:
XMLStreamException
serializeAndConsume
public void serializeAndConsume(XMLStreamWriter xmlWriter)
throws XMLStreamException
- Specified by:
serializeAndConsume
in interface org.apache.ws.commons.om.OMNode
- Overrides:
serializeAndConsume
in class NodeImpl
- Throws:
XMLStreamException