Class CommentImpl

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Node, Text, org.w3c.dom.CharacterData, org.w3c.dom.Comment, org.w3c.dom.Node, org.w3c.dom.Text

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

      • CommentImpl

        public CommentImpl​(java.lang.String text)
    • Method Detail

      • 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 org.w3c.dom.Text splitText​(int offset)
                                   throws org.w3c.dom.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 org.w3c.dom.Text
        Overrides:
        splitText in class Text
        Throws:
        org.w3c.dom.DOMException