Class CommentImpl

All Implemented Interfaces:
Serializable, Cloneable, Node, Text, CharacterData, Comment, Node, Text

public class CommentImpl extends Text implements Text, Comment
Most of methods are inherited from TEXT, defined for its Interface Marker only
Author:
Heejune Ahn (cityboy@tmax.co.kr)
See Also:
  • Constructor Details

    • CommentImpl

      public CommentImpl(String text)
  • Method Details

    • isComment

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

      public Text splitText(int offset) throws DOMException
      Description copied from class: Text
      Use the textRep, and convert it to org.apache.axis.Text in order to keep the Axis SOAP strcture after operation This work would be easier if constructor, Text(org.w3c.dom.Text) is defined
      Specified by:
      splitText in interface Text
      Overrides:
      splitText in class Text
      Parameters:
      offset -
      Returns:
      Throws:
      DOMException