|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.impl.llom.OMNodeImpl
org.apache.axiom.om.impl.llom.OMCommentImpl
public class OMCommentImpl
| Field Summary | |
|---|---|
protected java.lang.String |
value
|
| Fields inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl |
|---|
builder, done, factory, nextSibling, nodeType, parent, previousSibling |
| 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 | |
|---|---|
OMCommentImpl(org.apache.axiom.om.OMContainer parentNode,
org.apache.axiom.om.OMFactory factory)
Constructor OMCommentImpl. |
|
OMCommentImpl(org.apache.axiom.om.OMContainer parentNode,
java.lang.String contentText,
org.apache.axiom.om.OMFactory factory)
Constructor OMCommentImpl. |
|
| Method Summary | |
|---|---|
void |
discard()
Discards this node. |
java.lang.String |
getValue()
Gets the value of this comment. |
void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer)
Serializes the node with caching. |
void |
internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
Serializes the node without caching. |
void |
setValue(java.lang.String text)
Sets the value of this comment. |
| Methods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl |
|---|
build, buildWithAttachments, close, detach, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, importNode, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling, setType |
| 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 |
|---|
build, buildWithAttachments, close, detach, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
| Field Detail |
|---|
protected java.lang.String value
| Constructor Detail |
|---|
public OMCommentImpl(org.apache.axiom.om.OMContainer parentNode,
java.lang.String contentText,
org.apache.axiom.om.OMFactory factory)
parentNode - contentText -
public OMCommentImpl(org.apache.axiom.om.OMContainer parentNode,
org.apache.axiom.om.OMFactory factory)
parentNode - | Method Detail |
|---|
public void internalSerialize(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
internalSerialize in interface org.apache.axiom.om.impl.OMNodeExinternalSerialize in class OMNodeImplwriter -
javax.xml.stream.XMLStreamException
public void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
internalSerializeAndConsume in interface org.apache.axiom.om.impl.OMNodeExinternalSerializeAndConsume in class OMNodeImplwriter -
javax.xml.stream.XMLStreamExceptionpublic java.lang.String getValue()
getValue in interface org.apache.axiom.om.OMCommentpublic void setValue(java.lang.String text)
setValue in interface org.apache.axiom.om.OMCommenttext -
public void discard()
throws org.apache.axiom.om.OMException
discard in interface org.apache.axiom.om.OMNodeorg.apache.axiom.om.OMException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||