src/javax/xml/parsers/SAXParserFactory.java

Print this page
rev 602 : 8047723: @since tag cleanup in jaxp
Reviewed-by:


  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.xml.parsers;
  27 
  28 import javax.xml.validation.Schema;
  29 import org.xml.sax.SAXException;
  30 import org.xml.sax.SAXNotRecognizedException;
  31 import org.xml.sax.SAXNotSupportedException;
  32 
  33 /**
  34  * Defines a factory API that enables applications to configure and
  35  * obtain a SAX based parser to parse XML documents.
  36  *
  37  * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a>
  38  * @author <a href="mailto:Neeraj.Bajaj@sun.com">Neeraj Bajaj</a>
  39  *
  40  * @version $Revision: 1.9 $, $Date: 2010/05/25 16:19:44 $
  41  *
  42  */
  43 public abstract class SAXParserFactory {
  44 
  45     /**
  46      * <p>Should Parsers be validating?</p>
  47      */
  48     private boolean validating = false;
  49 
  50     /**
  51      * <p>Should Parsers be namespace aware?</p>
  52      */
  53     private boolean namespaceAware = false;
  54 
  55     /**
  56      * <p>Protected constructor to force use of {@link #newInstance()}.</p>
  57      */
  58     protected SAXParserFactory () {
  59 
  60     }
  61 




  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.xml.parsers;
  27 
  28 import javax.xml.validation.Schema;
  29 import org.xml.sax.SAXException;
  30 import org.xml.sax.SAXNotRecognizedException;
  31 import org.xml.sax.SAXNotSupportedException;
  32 
  33 /**
  34  * Defines a factory API that enables applications to configure and
  35  * obtain a SAX based parser to parse XML documents.
  36  *
  37  * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a>
  38  * @author <a href="mailto:Neeraj.Bajaj@sun.com">Neeraj Bajaj</a>
  39  *
  40  * @version $Revision: 1.9 $, $Date: 2010/05/25 16:19:44 $
  41  * @since 1.4
  42  */
  43 public abstract class SAXParserFactory {
  44 
  45     /**
  46      * <p>Should Parsers be validating?</p>
  47      */
  48     private boolean validating = false;
  49 
  50     /**
  51      * <p>Should Parsers be namespace aware?</p>
  52      */
  53     private boolean namespaceAware = false;
  54 
  55     /**
  56      * <p>Protected constructor to force use of {@link #newInstance()}.</p>
  57      */
  58     protected SAXParserFactory () {
  59 
  60     }
  61