public class XercesParser extends Object
SAXParser based on the underlying Xerces version.
 Currently, Xerces 2.3 and up doesn't implement schema validation the same way
 2.1 was. In other to support schema validation in a portable way between
 parser, some features/properties need to be set.| Modifier and Type | Field and Description | 
|---|---|
| protected static String | JAXP_SCHEMA_LANGUAGEThe JAXP 1.2 property to set up the schemaLanguage used. | 
| protected static float | versionA  floatrepresenting the underlying Xerces version | 
| protected static String | versionNumberThe current Xerces version. | 
| protected static String | XERCES_DYNAMICXerces dynamic validation property | 
| protected static String | XERCES_SCHEMAXerces schema validation property | 
| Constructor and Description | 
|---|
| XercesParser() | 
| Modifier and Type | Method and Description | 
|---|---|
| static SAXParser | newSAXParser(Properties properties)Create a  SAXParserbased on the underlyingXercesversion. | 
protected static String JAXP_SCHEMA_LANGUAGE
protected static String XERCES_DYNAMIC
protected static String XERCES_SCHEMA
protected static float version
float representing the underlying Xerces versionprotected static String versionNumber
public static SAXParser newSAXParser(Properties properties) throws ParserConfigurationException, SAXException, SAXNotSupportedException
SAXParser based on the underlying
 Xerces version.properties - parser specific properties/featuresSAXParserParserConfigurationExceptionSAXExceptionSAXNotSupportedExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.