java.lang.Object
org.jdom.input.JAXPParserFactory
- class JAXPParserFactory
- extends java.lang.Object
A non-public utility class to allocate JAXP SAX parsers.
- Version:
- $Revision: 1.5 $, $Date: 2004/02/27 21:08:47 $
|
Constructor Summary |
private |
JAXPParserFactory()
Private constructor to forbid allocating instances of this utility
class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CVS_ID
private static final java.lang.String CVS_ID
- See Also:
- Constant Field Values
JAXP_SCHEMA_LANGUAGE_PROPERTY
private static final java.lang.String JAXP_SCHEMA_LANGUAGE_PROPERTY
- JAXP 1.2 schema language property id.
- See Also:
- Constant Field Values
JAXP_SCHEMA_LOCATION_PROPERTY
private static final java.lang.String JAXP_SCHEMA_LOCATION_PROPERTY
- JAXP 1.2 schema location property id.
- See Also:
- Constant Field Values
JAXPParserFactory
private JAXPParserFactory()
- Private constructor to forbid allocating instances of this utility
class.
createParser
public static org.xml.sax.XMLReader createParser(boolean validating,
java.util.Map features,
java.util.Map properties)
throws org.jdom.JDOMException
- Creates a SAX parser allocated through the configured JAXP SAX
parser factory.
setProperty
private static void setProperty(javax.xml.parsers.SAXParser parser,
java.util.Map properties,
java.lang.String name)
throws org.jdom.JDOMException
- Sets a property on a JAXP SAX parser object if and only if it
is declared in the user-defined properties.