18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 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 com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl; 29 import javax.xml.validation.Schema; 30 import org.xml.sax.SAXException; 31 import org.xml.sax.SAXNotRecognizedException; 32 import org.xml.sax.SAXNotSupportedException; 33 34 /** 35 * Defines a factory API that enables applications to configure and 36 * obtain a SAX based parser to parse XML documents. 37 * 38 * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a> 39 * @author <a href="mailto:Neeraj.Bajaj@sun.com">Neeraj Bajaj</a> 40 * 41 * @since 1.4 42 */ 43 public abstract class SAXParserFactory { 44 45 /** 46 * Should Parsers be validating? 47 */ 48 private boolean validating = false; 49 50 /** 51 * Should Parsers be namespace aware? 52 */ 53 private boolean namespaceAware = false; 54 55 /** 56 * Protected constructor to force use of {@link #newInstance()}. 57 */ 58 protected SAXParserFactory () { 59 | 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 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 com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl; 29 import javax.xml.validation.Schema; 30 import org.xml.sax.SAXException; 31 import org.xml.sax.SAXNotRecognizedException; 32 import org.xml.sax.SAXNotSupportedException; 33 34 /** 35 * Defines a factory API that enables applications to configure and 36 * obtain a SAX based parser to parse XML documents. 37 * 38 * @author Jeff Suttor 39 * @author Neeraj Bajaj 40 * 41 * @since 1.4 42 */ 43 public abstract class SAXParserFactory { 44 45 /** 46 * Should Parsers be validating? 47 */ 48 private boolean validating = false; 49 50 /** 51 * Should Parsers be namespace aware? 52 */ 53 private boolean namespaceAware = false; 54 55 /** 56 * Protected constructor to force use of {@link #newInstance()}. 57 */ 58 protected SAXParserFactory () { 59 |