org.apache.axiom.c14n.omwrapper
Class DocumentImpl

java.lang.Object
  extended by org.apache.axiom.c14n.omwrapper.NodeImpl
      extended by org.apache.axiom.c14n.omwrapper.DocumentImpl
All Implemented Interfaces:
Document, Node

public class DocumentImpl
extends NodeImpl
implements Document


Field Summary
 
Fields inherited from class org.apache.axiom.c14n.omwrapper.NodeImpl
fac, next, node, prev
 
Fields inherited from interface org.apache.axiom.c14n.omwrapper.interfaces.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
 
Constructor Summary
DocumentImpl(OMDocument doc, WrapperFactory fac)
           
 
Method Summary
 NodeList getChildNodes()
           
 Element getDocumentElement()
           
 Node getFirstChild()
           
 Node getNextSibling()
           
 short getNodeType()
           
 Node getParentNode()
           
 Node getPreviousSibling()
           
 
Methods inherited from class org.apache.axiom.c14n.omwrapper.NodeImpl
getNamespaceURI, getNodeName, getNodeValue, getPrefix
 
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.c14n.omwrapper.interfaces.Node
getNamespaceURI, getNodeName, getNodeValue, getPrefix
 

Constructor Detail

DocumentImpl

public DocumentImpl(OMDocument doc,
                    WrapperFactory fac)
Method Detail

getDocumentElement

public Element getDocumentElement()
Specified by:
getDocumentElement in interface Document

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class NodeImpl

getFirstChild

public Node getFirstChild()
Specified by:
getFirstChild in interface Node
Overrides:
getFirstChild in class NodeImpl

getChildNodes

public NodeList getChildNodes()
Specified by:
getChildNodes in interface Node
Overrides:
getChildNodes in class NodeImpl

getNextSibling

public Node getNextSibling()
Specified by:
getNextSibling in interface Node
Overrides:
getNextSibling in class NodeImpl

getParentNode

public Node getParentNode()
Specified by:
getParentNode in interface Node
Overrides:
getParentNode in class NodeImpl

getPreviousSibling

public Node getPreviousSibling()
Specified by:
getPreviousSibling in interface Node
Overrides:
getPreviousSibling in class NodeImpl


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