org.htmlcleaner
Class ContentNode

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

public class ContentNode
extends BaseTokenImpl
implements HtmlNode

HTML text token.


Field Summary
protected  boolean blank
           
protected  String content
           
 
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
 
Methods inherited from interface org.htmlcleaner.BaseToken
getCol, getRow, setCol, setRow
 

Field Detail

content

protected final String content

blank

protected final boolean blank
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-2014. All Rights Reserved.