com.arsdigita.templating.html
Class HTMLParserFactory

java.lang.Object
  extended bycom.arsdigita.templating.html.HTMLParserFactory

public class HTMLParserFactory
extends Object

Different projects may need different HTML parsers. Some people would be happy with the XHTMLParser which only accepts well-formed XHTML fragments, while others may want to write a parser that accepts malformed HTML. This factory can be configured to return a particular desired implementation of the HTMLParser interface.

Since:
2002-09-09
Version:
$Date: 2004/04/07 $
Author:
Vadim Nasardinov (vadimn@redhat.com)

Constructor Summary
HTMLParserFactory()
           
 
Method Summary
static HTMLParser newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLParserFactory

public HTMLParserFactory()
Method Detail

newInstance

public static HTMLParser newInstance()
                              throws HTMLParserConfigurationException,
                                     HTMLParserException
Throws:
HTMLParserConfigurationException
HTMLParserException


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC