public class OMDocTypeImpl extends OMNodeImpl implements OMDocType
| Modifier and Type | Field and Description |
|---|---|
protected String |
value |
nextSibling, nodeType, parent, previousSiblingbuilder, done, factoryCDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE| Constructor and Description |
|---|
OMDocTypeImpl(OMContainer parentNode,
OMFactory factory)
Constructor OMDocTypeImpl.
|
OMDocTypeImpl(OMContainer parentNode,
String contentText,
OMFactory factory)
Constructor OMDocTypeImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
discard()
Discards this node.
|
String |
getValue()
Gets the value of this DocType.
|
void |
internalSerialize(XMLStreamWriter writer,
boolean cache)
Serializes the node.
|
void |
setValue(String text)
Sets the value of this DocType.
|
buildWithAttachments, detach, getNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, getType, importNode, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling, setTypebuild, close, getOMFactory, isComplete, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildWithAttachments, detach, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumebuild, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsumeprotected String value
public OMDocTypeImpl(OMContainer parentNode, String contentText, OMFactory factory)
parentNode - contentText - public OMDocTypeImpl(OMContainer parentNode, OMFactory factory)
parentNode - public void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
OMSerializableImplinternalSerialize in interface OMNodeExinternalSerialize in class OMSerializableImplcache - indicates if caching should be enabledXMLStreamExceptionpublic String getValue()
public void setValue(String text)
public void discard()
throws OMException
discard in interface OMNodeOMExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.