org.htmlcleaner
Class ContentNode

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

public class ContentNode
extends Object
implements BaseToken, HtmlNode

HTML text token.


Constructor Summary
ContentNode(String content)
           
 
Method Summary
 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

ContentNode

public ContentNode(String content)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getContent

public StringBuilder getContent()

serialize

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


Copyright © 2006-2011. All Rights Reserved.