Package org.apache.axiom.om.impl.llom
Class OMDocTypeImpl
- java.lang.Object
-
- org.apache.axiom.om.impl.llom.OMSerializableImpl
-
- org.apache.axiom.om.impl.llom.OMNodeImpl
-
- org.apache.axiom.om.impl.llom.OMDocTypeImpl
-
- All Implemented Interfaces:
org.apache.axiom.om.impl.OMNodeEx,org.apache.axiom.om.OMDocType,org.apache.axiom.om.OMNode,org.apache.axiom.om.OMSerializable
public class OMDocTypeImpl extends OMNodeImpl implements org.apache.axiom.om.OMDocType
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringvalue-
Fields inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
nextSibling, nodeType, parent, previousSibling
-
Fields inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl
builder, done, factory
-
-
Constructor Summary
Constructors Constructor Description OMDocTypeImpl(org.apache.axiom.om.OMContainer parentNode, String contentText, org.apache.axiom.om.OMFactory factory)Constructor OMDocTypeImpl.OMDocTypeImpl(org.apache.axiom.om.OMContainer parentNode, org.apache.axiom.om.OMFactory factory)Constructor OMDocTypeImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddiscard()Discards this node.StringgetValue()Gets the value of this DocType.voidinternalSerialize(XMLStreamWriter writer, boolean cache)Serializes the node.voidsetValue(String text)Sets the value of this DocType.-
Methods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
buildWithAttachments, detach, getNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, getType, importNode, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling, setType
-
Methods inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl
build, close, getOMFactory, isComplete, 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, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
-
-
-
-
Field Detail
-
value
protected String value
-
-
Constructor Detail
-
OMDocTypeImpl
public OMDocTypeImpl(org.apache.axiom.om.OMContainer parentNode, String contentText, org.apache.axiom.om.OMFactory factory)Constructor OMDocTypeImpl.- Parameters:
parentNode-contentText-
-
OMDocTypeImpl
public OMDocTypeImpl(org.apache.axiom.om.OMContainer parentNode, org.apache.axiom.om.OMFactory factory)Constructor OMDocTypeImpl.- Parameters:
parentNode-
-
-
Method Detail
-
internalSerialize
public void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
Description copied from class:OMSerializableImplSerializes the node.- Specified by:
internalSerializein interfaceorg.apache.axiom.om.impl.OMNodeEx- Specified by:
internalSerializein classOMSerializableImpl- Throws:
XMLStreamException
-
getValue
public String getValue()
Gets the value of this DocType.- Specified by:
getValuein interfaceorg.apache.axiom.om.OMDocType- Returns:
- Returns String.
-
setValue
public void setValue(String text)
Sets the value of this DocType.- Specified by:
setValuein interfaceorg.apache.axiom.om.OMDocType- Parameters:
text-
-
discard
public void discard() throws org.apache.axiom.om.OMExceptionDiscards this node.- Specified by:
discardin interfaceorg.apache.axiom.om.OMNode- Throws:
org.apache.axiom.om.OMException
-
-