Package jodd.lagarto.dom
Class Comment
- java.lang.Object
-
- jodd.lagarto.dom.Node
-
- jodd.lagarto.dom.Comment
-
- All Implemented Interfaces:
java.lang.Cloneable
public class Comment extends Node
Comment node.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jodd.lagarto.dom.Node
Node.NodeType
-
-
Field Summary
-
Fields inherited from class jodd.lagarto.dom.Node
attributes, childElementNodes, childElementNodesCount, childNodes, nodeName, nodeRawName, nodeType, nodeValue, ownerDocument, parentNode, siblingElementIndex, siblingIndex, siblingNameIndex
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Commentclone()protected voidvisitNode(NodeVisitor nodeVisitor)Visits single node.-
Methods inherited from class jodd.lagarto.dom.Node
addChild, addChild, appendTextContent, changeOwnerDocument, check, cloneTo, detachFromParent, filterChildNodes, findChildNodeWithName, getAttribute, getAttribute, getAttributeInstance, getAttributesCount, getChild, getChild, getChildElement, getChildElements, getChildElementsCount, getChildElementsCount, getChildNodes, getChildNodesCount, getCssPath, getFirstChild, getFirstChildElement, getFirstChildElement, getHtml, getInnerHtml, getLastChild, getLastChildElement, getLastChildElement, getNextSibling, getNextSiblingElement, getNextSiblingName, getNodeName, getNodeRawName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getPreviousSiblingElement, getPreviousSiblingName, getSiblingElementIndex, getSiblingIndex, getSiblingNameIndex, getTextContent, hasAttribute, hasAttributes, hasChildNodes, indexOfAttributeInstance, initAttributes, initChildElementNodes, initChildNodes, initSiblingNames, insertAfter, insertAfter, insertBefore, insertBefore, insertChild, insertChild, isAttributeContaining, reindexChildren, reindexChildrenOnAdd, removeAllChilds, removeAttribute, removeChild, removeChild, setAttribute, setAttribute, setNodeValue, visit, visitChildren
-
-
-
-
Constructor Detail
-
Comment
public Comment(Document ownerDocument, java.lang.String comment)
Creates a comment.
-
-
Method Detail
-
visitNode
protected void visitNode(NodeVisitor nodeVisitor)
Description copied from class:NodeVisits single node. Implementations just needs to call the correct visitor callback function.
-
-