com.caucho.xml2.parsers
Class HtmlSAXParserFactory

java.lang.Object
  extended by javax.xml.parsers.SAXParserFactory
      extended by com.caucho.xml2.parsers.HtmlSAXParserFactory

public class HtmlSAXParserFactory
extends javax.xml.parsers.SAXParserFactory

JAXP SAX parser factory for strict HTML parsing.


Constructor Summary
HtmlSAXParserFactory()
           
 
Method Summary
 boolean getFeature(java.lang.String key)
           
 java.lang.Object getProperty(java.lang.String key)
           
 javax.xml.parsers.SAXParser newSAXParser()
          Creates a new SAX Parser
 void setFeature(java.lang.String key, boolean value)
           
 void setProperty(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class javax.xml.parsers.SAXParserFactory
getSchema, isNamespaceAware, isValidating, isXIncludeAware, newInstance, newInstance, setNamespaceAware, setSchema, setValidating, setXIncludeAware
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlSAXParserFactory

public HtmlSAXParserFactory()
Method Detail

newSAXParser

public javax.xml.parsers.SAXParser newSAXParser()
Creates a new SAX Parser

Specified by:
newSAXParser in class javax.xml.parsers.SAXParserFactory

getProperty

public java.lang.Object getProperty(java.lang.String key)

setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object value)

getFeature

public boolean getFeature(java.lang.String key)
Specified by:
getFeature in class javax.xml.parsers.SAXParserFactory

setFeature

public void setFeature(java.lang.String key,
                       boolean value)
Specified by:
setFeature in class javax.xml.parsers.SAXParserFactory