org.htmlcleaner
Class CommentNode

java.lang.Object
  extended by org.htmlcleaner.CommentNode
All Implemented Interfaces:
BaseToken, HtmlNode

public class CommentNode
extends Object
implements BaseToken, HtmlNode

HTML comment token.


Constructor Summary
CommentNode(String content)
           
 
Method Summary
 String getCommentedContent()
           
 StringBuilder getContent()
           
 void serialize(Serializer serializer, Writer writer)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommentNode

public CommentNode(String content)
Method Detail

getCommentedContent

public String getCommentedContent()

getContent

public StringBuilder getContent()

toString

public String toString()
Overrides:
toString in class Object

serialize

public void serialize(Serializer serializer,
                      Writer writer)
               throws IOException
Specified by:
serialize in interface BaseToken
Throws:
IOException


Copyright © 2006-2011. All Rights Reserved.