org.apache.axiom.om.impl.llom
Class OMDocTypeImpl

java.lang.Object
  extended by org.apache.axiom.om.impl.llom.OMSerializableImpl
      extended by org.apache.axiom.om.impl.llom.OMNodeImpl
          extended by org.apache.axiom.om.impl.llom.OMLeafNode
              extended by org.apache.axiom.om.impl.llom.OMDocTypeImpl
All Implemented Interfaces:
IChildNode, OMNodeEx, OMDocType, OMInformationItem, OMNode, OMSerializable

public class OMDocTypeImpl
extends OMLeafNode
implements OMDocType


Field Summary
 
Fields inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
nextSibling, parent, previousSibling
 
Fields inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl
factory
 
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
OMDocTypeImpl(OMContainer parentNode, java.lang.String rootName, java.lang.String publicId, java.lang.String systemId, java.lang.String internalSubset, OMFactory factory, boolean fromBuilder)
           
 
Method Summary
 java.lang.String getInternalSubset()
           
 java.lang.String getPublicId()
           
 java.lang.String getRootName()
           
 java.lang.String getSystemId()
           
 int getType()
           
 void internalSerialize(javax.xml.stream.XMLStreamWriter writer, boolean cache)
          Serializes the node.
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMLeafNode
build, discard, getBuilder, isComplete, setComplete
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
buildWithAttachments, clone, detach, getIParentNode, getNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setParent, setPreviousOMSibling
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl
close, getOMFactory, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
 
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.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

OMDocTypeImpl

public OMDocTypeImpl(OMContainer parentNode,
                     java.lang.String rootName,
                     java.lang.String publicId,
                     java.lang.String systemId,
                     java.lang.String internalSubset,
                     OMFactory factory,
                     boolean fromBuilder)
Method Detail

getType

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

internalSerialize

public void internalSerialize(javax.xml.stream.XMLStreamWriter writer,
                              boolean cache)
                       throws javax.xml.stream.XMLStreamException
Description copied from class: OMSerializableImpl
Serializes the node.

Specified by:
internalSerialize in interface OMNodeEx
Specified by:
internalSerialize in class OMSerializableImpl
Throws:
javax.xml.stream.XMLStreamException

getRootName

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

getPublicId

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

getSystemId

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

getInternalSubset

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


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