public class OMDocTypeImpl extends OMLeafNode implements OMDocType
nextSibling, parent, previousSiblingfactoryCDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE| Constructor and Description |
|---|
OMDocTypeImpl(OMContainer parentNode,
String rootName,
String publicId,
String systemId,
String internalSubset,
OMFactory factory,
boolean fromBuilder) |
| Modifier and Type | Method and Description |
|---|---|
String |
getInternalSubset()
Get the internal subset.
|
String |
getPublicId()
Get the public ID of the external subset.
|
String |
getRootName()
Get the root name, i.e.
|
String |
getSystemId()
Get the system ID of the external subset.
|
int |
getType()
Returns the type of node.
|
void |
internalSerialize(XMLStreamWriter writer,
boolean cache)
Serializes the node.
|
build, discard, getBuilder, isComplete, setCompletebuildWithAttachments, clone, detach, getIParentNode, getNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setParent, setPreviousOMSiblingclose, getOMFactory, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumebuild, close, isComplete, serialize, serialize, serializeAndConsumeclone, getOMFactorypublic final int getType()
OMNodegetType in interface OMNodeOMNode.ELEMENT_NODE, OMNode.TEXT_NODE, OMNode.CDATA_SECTION_NODE,
OMNode.COMMENT_NODE, OMNode.DTD_NODE, OMNode.PI_NODE, OMNode.ENTITY_REFERENCE_NODE or OMNode.SPACE_NODE.public void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
OMSerializableImplinternalSerialize in interface OMNodeExinternalSerialize in class OMSerializableImplcache - indicates if caching should be enabledXMLStreamExceptionpublic String getRootName()
OMDocTypegetRootName in interface OMDocTypenullpublic String getPublicId()
OMDocTypegetPublicId in interface OMDocTypenull if there is no external subset or no public ID
has been specified for the external subsetpublic String getSystemId()
OMDocTypegetSystemId in interface OMDocTypenull if there is no external subsetpublic String getInternalSubset()
OMDocTypegetInternalSubset in interface OMDocTypenull if there is noneCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.