org.htmlcleaner
Class ContentNode

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

public class ContentNode
extends BaseTokenImpl
implements HtmlNode

HTML text token.


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

Constructor Detail

ContentNode

public ContentNode(String content)
Method Detail

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

isBlank

public boolean isBlank()


Copyright © 2006-2013. All Rights Reserved.