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.ChildNode
          extended by org.apache.axiom.om.impl.dom.DocumentTypeImpl
All Implemented Interfaces:
java.lang.Cloneable, OMNodeEx, OMDocType, OMNode, OMSerializable, org.w3c.dom.DocumentType, org.w3c.dom.Node, org.w3c.dom.NodeList

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


Field Summary
 
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
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
 
Constructor Summary
DocumentTypeImpl(DocumentImpl ownerDocument, 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 getSystemId()
           
 int getType()
           
 java.lang.String getValue()
           
 void internalSerialize(javax.xml.stream.XMLStreamWriter writer, boolean cache)
           
 void setType(int nodeType)
           
 void setValue(java.lang.String text)
           
 
Methods inherited from class org.apache.axiom.om.impl.dom.ChildNode
cloneNode, detach, discard, getNextOMSibling, getNextOMSiblingIfAvailable, 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, getChildNodes, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNodeValue, getOMFactory, getOwnerDocument, getPrefix, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, internalSerialize, internalSerializeAndConsume, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, 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.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, getOMFactory, isComplete, serialize, serialize, serializeAndConsume
 

Constructor Detail

DocumentTypeImpl

public DocumentTypeImpl(DocumentImpl ownerDocument,
                        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
Throws:
javax.xml.stream.XMLStreamException

setType

public void setType(int nodeType)
             throws OMException
Specified by:
setType in interface OMNodeEx
Throws:
OMException

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 org.w3c.dom.DocumentType

getName

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

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 org.w3c.dom.DocumentType

getSystemId

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

getValue

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

setValue

public void setValue(java.lang.String text)
Specified by:
setValue in interface OMDocType


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