Package org.htmlcleaner
Class CommentNode
- java.lang.Object
-
- org.htmlcleaner.BaseTokenImpl
-
- org.htmlcleaner.CommentNode
-
public class CommentNode extends BaseTokenImpl implements HtmlNode
HTML comment token.
-
-
Constructor Summary
Constructors Constructor Description CommentNode(String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommentedContent()
String
getContent()
void
serialize(Serializer serializer, Writer writer)
String
toString()
-
Methods inherited from class org.htmlcleaner.BaseTokenImpl
getCol, getRow, setCol, setRow
-
-
-
-
Constructor Detail
-
CommentNode
public CommentNode(String content)
-
-
Method Detail
-
getCommentedContent
public String getCommentedContent()
-
getContent
public String getContent()
-
toString
public String toString()
- Overrides:
toString
in classBaseTokenImpl
-
serialize
public void serialize(Serializer serializer, Writer writer) throws IOException
- Specified by:
serialize
in interfaceBaseToken
- Throws:
IOException
-
-