Class Comment

  • All Implemented Interfaces:
    Element

    public class Comment
    extends XMLPseudoTag
    A comment in XML file. For example, <!-- here goes the comment -->.
    • Constructor Detail

      • Comment

        public Comment​(java.lang.String comment)
        Creates a new instance of Comment
    • Method Detail

      • toOriginal

        public java.lang.String toOriginal()
        Returns the comment in its original form as it was in original document.
        Specified by:
        toOriginal in interface Element
        Specified by:
        toOriginal in class Tag