Class Comment

    • Constructor Detail

      • Comment

        public Comment​(Token token)
      • Comment

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

      • setText

        public Comment setText​(java.lang.String text)
        Description copied from interface: TextNode
        Change the text of the node. When necessary, the text will be escaped before writing it to the output stream.
        Specified by:
        setText in interface TextNode
      • getText

        public java.lang.String getText()
        Description copied from interface: TextNode
        Get the text from the node
        Specified by:
        getText in interface TextNode
      • copy

        public Comment copy()
        Description copied from interface: Node
        Simulate clone()
        Specified by:
        copy in interface Node
        Overrides:
        copy in class BasicNode