com.caucho.xml2.parsers
Class HtmlDocumentBuilderFactory

java.lang.Object
  extended by javax.xml.parsers.DocumentBuilderFactory
      extended by com.caucho.xml2.parsers.HtmlDocumentBuilderFactory

public class HtmlDocumentBuilderFactory
extends javax.xml.parsers.DocumentBuilderFactory

JAXP document builder factory for strict XML parsing.


Constructor Summary
HtmlDocumentBuilderFactory()
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String key)
           
 org.w3c.dom.DOMImplementation getDOMImplementation()
           
 boolean getFeature(java.lang.String key)
           
 javax.xml.parsers.DocumentBuilder newDocumentBuilder()
          Creates a new SAX Parser
 void setAttribute(java.lang.String key, java.lang.Object value)
           
 void setFeature(java.lang.String key, boolean value)
           
 
Methods inherited from class javax.xml.parsers.DocumentBuilderFactory
getSchema, isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, isXIncludeAware, newInstance, newInstance, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, setNamespaceAware, setSchema, setValidating, setXIncludeAware
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlDocumentBuilderFactory

public HtmlDocumentBuilderFactory()
Method Detail

newDocumentBuilder

public javax.xml.parsers.DocumentBuilder newDocumentBuilder()
Creates a new SAX Parser

Specified by:
newDocumentBuilder in class javax.xml.parsers.DocumentBuilderFactory

getAttribute

public java.lang.Object getAttribute(java.lang.String key)
Specified by:
getAttribute in class javax.xml.parsers.DocumentBuilderFactory

setAttribute

public void setAttribute(java.lang.String key,
                         java.lang.Object value)
Specified by:
setAttribute in class javax.xml.parsers.DocumentBuilderFactory

getFeature

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

setFeature

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

getDOMImplementation

public org.w3c.dom.DOMImplementation getDOMImplementation()