Class HtmlComment

  • All Implemented Interfaces:
    Serializable, Cloneable, org.jdom2.NamespaceAware

    @ProviderType
    public final class HtmlComment
    extends org.jdom2.Comment
    Html comment.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.jdom2.Content

        org.jdom2.Content.CType
    • Field Summary

      • Fields inherited from class org.jdom2.Comment

        text
      • Fields inherited from class org.jdom2.Content

        ctype, parent
    • Constructor Summary

      Constructors 
      Constructor Description
      HtmlComment​(String text)
      Html comment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String toString()  
      • Methods inherited from class org.jdom2.Comment

        clone, detach, getText, getValue, setParent, setText
      • Methods inherited from class org.jdom2.Content

        equals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParent, getParentElement, hashCode
    • Constructor Detail

      • HtmlComment

        public HtmlComment​(String text)
        Html comment.
        Parameters:
        text - Comment string.
    • Method Detail

      • toString

        public String toString()
        Overrides:
        toString in class org.jdom2.Comment