org.outerj.daisy.htmlcleaner
Class HtmlCleanerFactory
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlCleanerFactory
public HtmlCleanerFactory()
buildTemplate
public HtmlCleanerTemplate buildTemplate(org.xml.sax.InputSource is)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © -2005 . All Rights Reserved.