Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdom.input
Class JAXPParserFactory  view JAXPParserFactory download JAXPParserFactory.java

java.lang.Object
  extended byorg.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 $

Field Summary
private static java.lang.String CVS_ID
           
private static java.lang.String JAXP_SCHEMA_LANGUAGE_PROPERTY
          JAXP 1.2 schema language property id.
private static java.lang.String JAXP_SCHEMA_LOCATION_PROPERTY
          JAXP 1.2 schema location property id.
 
Constructor Summary
private JAXPParserFactory()
          Private constructor to forbid allocating instances of this utility class.
 
Method Summary
static org.xml.sax.XMLReader createParser(boolean validating, java.util.Map features, java.util.Map properties)
          Creates a SAX parser allocated through the configured JAXP SAX parser factory.
private static void setProperty(javax.xml.parsers.SAXParser parser, java.util.Map properties, java.lang.String name)
          Sets a property on a JAXP SAX parser object if and only if it is declared in the user-defined properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

JAXPParserFactory

private JAXPParserFactory()
Private constructor to forbid allocating instances of this utility class.

Method Detail

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.