Class CommentImpl

java.lang.Object
org.apache.axiom.om.impl.dom.NodeImpl
All Implemented Interfaces:
Cloneable, Node, Text, org.apache.axiom.om.impl.OMNodeEx, org.apache.axiom.om.OMNode, org.apache.axiom.om.OMSerializable, CharacterData, Comment, Node, NodeList, Text

public class CommentImpl extends TextImplEx implements Comment
  • Constructor Details

  • Method Details

    • isComment

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

      public String getNodeName()
      Description copied from class: TextImplEx
      The name of this node, depending on its type; see the table above.
      Specified by:
      getNodeName in interface Node
      Overrides:
      getNodeName in class TextImplEx
    • getNodeType

      public short getNodeType()
      Description copied from class: TextImplEx
      A code representing the type of the underlying object, as defined above.
      Specified by:
      getNodeType in interface Node
      Overrides:
      getNodeType in class TextImplEx