com.sun.xml.xsom.impl.parser
Class SAXParserFactoryAdaptor

java.lang.Object
  extended by javax.xml.parsers.SAXParserFactory
      extended by com.sun.xml.xsom.impl.parser.SAXParserFactoryAdaptor

public class SAXParserFactoryAdaptor
extends javax.xml.parsers.SAXParserFactory

SAXParserFactory implementation that ultimately uses XMLParser to parse documents.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Constructor Summary
SAXParserFactoryAdaptor(XMLParser _parser)
           
 
Method Summary
 boolean getFeature(java.lang.String name)
           
 javax.xml.parsers.SAXParser newSAXParser()
           
 void setFeature(java.lang.String name, boolean 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

SAXParserFactoryAdaptor

public SAXParserFactoryAdaptor(XMLParser _parser)
Method Detail

newSAXParser

public javax.xml.parsers.SAXParser newSAXParser()
                                         throws javax.xml.parsers.ParserConfigurationException,
                                                org.xml.sax.SAXException
Specified by:
newSAXParser in class javax.xml.parsers.SAXParserFactory
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException

setFeature

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

getFeature

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


Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.