com.caucho.xml2.jaxp
Class SAXParserFactoryImpl

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

public class SAXParserFactoryImpl
extends javax.xml.parsers.SAXParserFactory

JAXP SAX parser factory for strict XML parsing.


Nested Class Summary
 class SAXParserFactoryImpl.XmlSAXParser
           
 
Constructor Summary
SAXParserFactoryImpl()
           
 
Method Summary
 boolean getFeature(java.lang.String key)
          Returns a SAX feature.
 java.lang.Object getProperty(java.lang.String key)
          Returns a SAX property.
 boolean isNamespaceAware()
           
 boolean isNamespacePrefixes()
          Returns true if namespaces prefixes are generated.
 javax.xml.parsers.SAXParser newSAXParser()
          Creates a new SAX Parser
 void setFeature(java.lang.String key, boolean value)
          Sets a SAX feature.
 void setProperty(java.lang.String key, java.lang.Object value)
          Sets a SAX property.
 
Methods inherited from class javax.xml.parsers.SAXParserFactory
getSchema, 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

SAXParserFactoryImpl

public SAXParserFactoryImpl()
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)
Returns a SAX property.


setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object value)
Sets a SAX property.


getFeature

public boolean getFeature(java.lang.String key)
Returns a SAX feature.

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

setFeature

public void setFeature(java.lang.String key,
                       boolean value)
                throws org.xml.sax.SAXNotRecognizedException
Sets a SAX feature.

Specified by:
setFeature in class javax.xml.parsers.SAXParserFactory
Throws:
org.xml.sax.SAXNotRecognizedException

isNamespacePrefixes

public boolean isNamespacePrefixes()
Returns true if namespaces prefixes are generated.


isNamespaceAware

public boolean isNamespaceAware()
Overrides:
isNamespaceAware in class javax.xml.parsers.SAXParserFactory