| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | JAXP_SCHEMA_LANGUAGE_PROPERTY
JAXP 1.2 schema language property id. |
| private static final String | JAXP_SCHEMA_LOCATION_PROPERTY
JAXP 1.2 schema location property id. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static XMLReader | Returns: a configured XMLReader.whether a validating parser is requested. validating, Map<K, V> the user-defined SAX features. features, Map<K, V> the user-defined SAX properties. properties)Creates a SAX parser allocated through the configured JAXP SAX parser factory. |
| private static void | setProperty(SAXParser
the JAXP SAX parser to configure. parser, Map<K, V> the user-defined SAX properties. properties, String the name of the property to set. name)Sets a property on a JAXP SAX parser object if and only if it is declared in the user-defined properties. |
| CVS_ID | back to summary |
|---|---|
| private static final String CVS_ID | |
| JAXP_SCHEMA_LANGUAGE_PROPERTY | back to summary |
|---|---|
| private static final String JAXP_SCHEMA_LANGUAGE_PROPERTY JAXP 1.2 schema language property id. | |
| JAXP_SCHEMA_LOCATION_PROPERTY | back to summary |
|---|---|
| private static final String JAXP_SCHEMA_LOCATION_PROPERTY JAXP 1.2 schema location property id. | |
| JAXPParserFactory | back to summary |
|---|---|
| private JAXPParserFactory() Private constructor to forbid allocating instances of this utility class. | |
| createParser | back to summary |
|---|---|
| public static XMLReader createParser(boolean validating, Map<K, V> features, Map<K, V> properties) throws JDOMException Creates a SAX parser allocated through the configured JAXP SAX parser factory.
| |
| setProperty | back to summary |
|---|---|
| private static void setProperty(SAXParser parser, Map<K, V> properties, String name) throws JDOMException Sets a property on a JAXP SAX parser object if and only if it is declared in the user-defined properties.
| |