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

java.lang.Object
  extended by org.apache.axiom.om.impl.dom.NodeImpl
      extended by org.apache.axiom.om.impl.dom.LeafNode
          extended by org.apache.axiom.om.impl.dom.DocumentTypeImpl
All Implemented Interfaces:
IChildNode, OMNodeEx, OMDocType, OMInformationItem, OMNode, OMSerializable, org.w3c.dom.DocumentType, org.w3c.dom.Node

public class DocumentTypeImpl
extends LeafNode
implements org.w3c.dom.DocumentType, OMDocType, OMNodeEx


Field Summary
 
Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl
factory, FIRSTCHILD, flags, HAS_PARENT, 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
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
 
Constructor Summary
DocumentTypeImpl(java.lang.String rootName, java.lang.String publicId, java.lang.String systemId, java.lang.String internalSubset, OMFactory factory)
           
 
Method Summary
 org.w3c.dom.NamedNodeMap getEntities()
           
 java.lang.String getInternalSubset()
           
 java.lang.String getName()
           
 java.lang.String getNodeName()
           
 short getNodeType()
           
 org.w3c.dom.NamedNodeMap getNotations()
           
 java.lang.String getPublicId()
           
 java.lang.String getRootName()
           
 java.lang.String getSystemId()
           
 int getType()
           
 void internalSerialize(javax.xml.stream.XMLStreamWriter writer, boolean cache)
           
 
Methods inherited from class org.apache.axiom.om.impl.dom.LeafNode
appendChild, build, discard, getBuilder, getChildNodes, getIParentNode, getNextOMSibling, getNextSibling, insertBefore, isComplete, lookupNamespaceURI, removeChild, replaceChild, setComplete
 
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, 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.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.OMNodeEx
getNextOMSiblingIfAvailable, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling
 
Methods inherited from interface org.apache.axiom.om.OMNode
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
 
Methods inherited from interface org.apache.axiom.om.OMSerializable
build, close, isComplete, serialize, serialize, serializeAndConsume
 
Methods inherited from interface org.apache.axiom.om.OMInformationItem
clone, getOMFactory
 

Constructor Detail

DocumentTypeImpl

public DocumentTypeImpl(java.lang.String rootName,
                        java.lang.String publicId,
                        java.lang.String systemId,
                        java.lang.String internalSubset,
                        OMFactory factory)
Method Detail

getNodeName

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

getNodeType

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

internalSerialize

public void internalSerialize(javax.xml.stream.XMLStreamWriter writer,
                              boolean cache)
                       throws javax.xml.stream.XMLStreamException
Specified by:
internalSerialize in interface OMNodeEx
Specified by:
internalSerialize in class NodeImpl
Throws:
javax.xml.stream.XMLStreamException

getType

public int getType()
Specified by:
getType in interface OMNode

getEntities

public org.w3c.dom.NamedNodeMap getEntities()
Specified by:
getEntities in interface org.w3c.dom.DocumentType

getInternalSubset

public java.lang.String getInternalSubset()
Specified by:
getInternalSubset in interface OMDocType
Specified by:
getInternalSubset in interface org.w3c.dom.DocumentType

getName

public java.lang.String getName()
Specified by:
getName in interface org.w3c.dom.DocumentType

getRootName

public java.lang.String getRootName()
Specified by:
getRootName in interface OMDocType

getNotations

public org.w3c.dom.NamedNodeMap getNotations()
Specified by:
getNotations in interface org.w3c.dom.DocumentType

getPublicId

public java.lang.String getPublicId()
Specified by:
getPublicId in interface OMDocType
Specified by:
getPublicId in interface org.w3c.dom.DocumentType

getSystemId

public java.lang.String getSystemId()
Specified by:
getSystemId in interface OMDocType
Specified by:
getSystemId in interface org.w3c.dom.DocumentType


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