org.htmlcleaner
Class CommentNode

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

public class CommentNode
extends BaseTokenImpl
implements HtmlNode

HTML comment token.


Constructor Summary
CommentNode(String content)
           
 
Method Summary
 String getCommentedContent()
           
 String getContent()
           
 void serialize(Serializer serializer, Writer writer)
           
 String toString()
           
 
Methods inherited from class org.htmlcleaner.BaseTokenImpl
getCol, getRow, setCol, setRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.htmlcleaner.BaseToken
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 class BaseTokenImpl

serialize

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


Copyright © 2006-2014. All Rights Reserved.