info.bliki.htmlcleaner.util
Class DivErrorboxExtractor

java.lang.Object
  extended by info.bliki.htmlcleaner.util.AbstractHtmlExtractor<java.lang.StringBuilder>
      extended by info.bliki.htmlcleaner.util.DivErrorboxExtractor

public class DivErrorboxExtractor
extends AbstractHtmlExtractor<java.lang.StringBuilder>

Extracts a <div class="errorbox">...error text...</div> content.


Constructor Summary
DivErrorboxExtractor(java.lang.StringBuilder resultBuffer)
           
 
Method Summary
 void appendContent(java.util.List nodes)
          Append the content of the nodes to the given result object.
 boolean isFound(TagNode tagNode)
          Append the content of the given TagNode to the resultObject
 
Methods inherited from class info.bliki.htmlcleaner.util.AbstractHtmlExtractor
extractContent, getResultObject, visitBaseToken, visitTokenList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DivErrorboxExtractor

public DivErrorboxExtractor(java.lang.StringBuilder resultBuffer)
Method Detail

appendContent

public void appendContent(java.util.List nodes)
Description copied from class: AbstractHtmlExtractor
Append the content of the nodes to the given result object.

Specified by:
appendContent in class AbstractHtmlExtractor<java.lang.StringBuilder>

isFound

public boolean isFound(TagNode tagNode)
Description copied from class: AbstractHtmlExtractor
Append the content of the given TagNode to the resultObject

Specified by:
isFound in class AbstractHtmlExtractor<java.lang.StringBuilder>
Returns:
true if appendContent() should be called.


Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.