Class Comment

All Implemented Interfaces:
Element

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

    • Comment

      public Comment(String comment)
      Creates a new instance of Comment
  • Method Details

    • toOriginal

      public 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