com.hp.hpl.thermopylae
Class SAXParserFactoryImpl
java.lang.Object
|
+--javax.xml.parsers.SAXParserFactory
|
+--com.hp.hpl.thermopylae.SAXParserFactoryImpl
- public class SAXParserFactoryImpl
- extends javax.xml.parsers.SAXParserFactory
SAXParserFactory implementation for Sparta XML parser wrapper
Currently returns a Thermopylae SAXParser with or without
namespace support and with no validation. If the application
requests validation support and the Crimson parser is available,
a crimson parser is returned.
Copyright (C) 2002 Hewlett-Packard Company.
This file is part of Sparta, an XML Parser, DOM, and XPath library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU
Lesser General Public License as published by the Free Software
Foundation; either version 2.1 of the License, or (at your option)
any later version. This library is distributed in the hope that it
will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
- Version:
- $Date: 2002/08/19 05:04:18 $ $Revision: 1.1.1.1 $
- Author:
- Sergio Marti
Methods inherited from class javax.xml.parsers.SAXParserFactory |
newInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXParserFactoryImpl
public SAXParserFactoryImpl()
newSAXParser
public javax.xml.parsers.SAXParser newSAXParser()
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
- Overrides:
newSAXParser
in class javax.xml.parsers.SAXParserFactory
getFeature
public boolean getFeature(java.lang.String parm1)
throws java.lang.IllegalArgumentException
- Overrides:
getFeature
in class javax.xml.parsers.SAXParserFactory
setFeature
public void setFeature(java.lang.String parm1,
boolean parm2)
throws java.lang.IllegalArgumentException
- Overrides:
setFeature
in class javax.xml.parsers.SAXParserFactory
isNamespaceAware
public boolean isNamespaceAware()
- Overrides:
isNamespaceAware
in class javax.xml.parsers.SAXParserFactory
isValidating
public boolean isValidating()
- Overrides:
isValidating
in class javax.xml.parsers.SAXParserFactory
setNamespaceAware
public void setNamespaceAware(boolean awareness)
- Overrides:
setNamespaceAware
in class javax.xml.parsers.SAXParserFactory
setValidating
public void setValidating(boolean validate)
- Overrides:
setValidating
in class javax.xml.parsers.SAXParserFactory