Class HtmlComment

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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​(java.lang.String text)
      Html comment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.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
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HtmlComment

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

      • toString

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