Class Comment

java.lang.Object
jodd.lagarto.dom.Node
jodd.lagarto.dom.Comment
All Implemented Interfaces:
Cloneable

public class Comment extends Node
Comment node.
  • Constructor Details

    • Comment

      public Comment(Document ownerDocument, String comment)
      Creates a comment.
  • Method Details

    • clone

      public Comment clone()
      Specified by:
      clone in class Node
    • visitNode

      protected void visitNode(NodeVisitor nodeVisitor)
      Description copied from class: Node
      Visits single node. Implementations just needs to call the correct visitor callback function.
      Specified by:
      visitNode in class Node