org.apache.axiom.om

## Interface OMComment

- All Superinterfaces:
    OMInformationItem, OMNode, OMSerializable

      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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `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, isComplete, serialize, serialize, serializeAndConsume`

    - ### Methods inherited from interface org.apache.axiom.om.OMInformationItem

      `clone, getOMFactory`

- - ### 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 © The Apache Software Foundation. All Rights Reserved.