Class CommentImpl

All Implemented Interfaces:
jakarta.xml.soap.Node, jakarta.xml.soap.Text, CharacterData, Comment, Node, Text

public class CommentImpl extends TextImplEx implements Comment
  • Constructor Details

    • CommentImpl

      public CommentImpl(org.apache.axiom.om.OMComment textNode)
    • CommentImpl

      public CommentImpl(String data)
  • Method Details

    • isComment

      public boolean isComment()
      Description copied from class: TextImplEx
      Retrieves whether this Text object represents a comment.
      Specified by:
      isComment in interface jakarta.xml.soap.Text
      Overrides:
      isComment in class TextImplEx
      Returns:
      true if this Text object is a comment; false otherwise