org.apache.axiom.om
Interface OMComment

All Superinterfaces:
OMNode, OMSerializable
All Known Implementing Classes:
CommentImpl, OMCommentImpl

public interface OMComment
extends OMNode

Interface OMComment


Field Summary
 
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
 
Method Summary
 String getValue()
          Returns the value of this comment as defined by XPath 1.0.
 void setValue(String text)
          Sets the content of this comment to the specified string.
 
Methods inherited from interface org.apache.axiom.om.OMNode
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
 
Methods inherited from interface org.apache.axiom.om.OMSerializable
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume
 

Method Detail

getValue

String getValue()
Returns the value of this comment as defined by XPath 1.0.

Returns:
Returns String.

setValue

void setValue(String text)
Sets the content of this comment to the specified string.

Parameters:
text -


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.