org.outerj.daisy.htmlcleaner
Class HtmlCleanerFactory

java.lang.Object
  extended by org.outerj.daisy.htmlcleaner.HtmlCleanerFactory

public class HtmlCleanerFactory
extends java.lang.Object

Builds a HtmlCleanerTemplate based on a XML configuration. The configuration describes such things as which elements and attributes should be kept, or how wide the output should be. See the example config files.

Instances of this class are not thread safe and not reusable, in other words construct a new HtmlCleanerFactory each time you need it.


Constructor Summary
HtmlCleanerFactory()
           
 
Method Summary
 HtmlCleanerTemplate buildTemplate(org.xml.sax.InputSource is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlCleanerFactory

public HtmlCleanerFactory()
Method Detail

buildTemplate

public HtmlCleanerTemplate buildTemplate(org.xml.sax.InputSource is)
                                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © -2012 . All Rights Reserved.