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:
- OMNodeEx, OMDocType, OMNode, OMSerializable
public class OMDocTypeImpl
- extends OMNodeImpl
- implements OMDocType
|
Field Summary |
protected java.lang.String |
value
|
|
Method Summary |
void |
discard()
Discards this node. |
java.lang.String |
getValue()
Gets the value of this DocType. |
void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer,
boolean cache)
Serializes the node. |
void |
setValue(java.lang.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 |
value
protected java.lang.String value
OMDocTypeImpl
public OMDocTypeImpl(OMContainer parentNode,
java.lang.String contentText,
OMFactory factory)
- Constructor OMDocTypeImpl.
- Parameters:
parentNode - contentText -
OMDocTypeImpl
public OMDocTypeImpl(OMContainer parentNode,
OMFactory factory)
- Constructor OMDocTypeImpl.
- Parameters:
parentNode -
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
getValue
public java.lang.String getValue()
- Gets the value of this DocType.
- Specified by:
getValue in interface OMDocType
- Returns:
- Returns String.
setValue
public void setValue(java.lang.String text)
- Sets the value of this DocType.
- Specified by:
setValue in interface OMDocType
- Parameters:
text -
discard
public void discard()
throws OMException
- Discards this node.
- Specified by:
discard in interface OMNode
- Throws:
OMException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.