| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tomcat.util.digester.XercesParser
public class XercesParser
Create a 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.
| Field Summary | |
|---|---|
| protected static java.lang.String | JAXP_SCHEMA_LANGUAGEThe JAXP 1.2 property to set up the schemaLanguage used. | 
| protected static Log | logThe Log to which all SAX event related logging calls will be made. | 
| protected static float | versionA floatrepresenting the underlying Xerces version | 
| protected static java.lang.String | versionNumberThe current Xerces version. | 
| protected static java.lang.String | XERCES_DYNAMICXerces dynamic validation property | 
| protected static java.lang.String | XERCES_SCHEMAXerces schema validation property | 
| Constructor Summary | |
|---|---|
| XercesParser() | |
| Method Summary | |
|---|---|
| static javax.xml.parsers.SAXParser | newSAXParser(java.util.Properties properties)Create a SAXParserbased on the underlyingXercesversion. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static Log log
protected static java.lang.String JAXP_SCHEMA_LANGUAGE
protected static java.lang.String XERCES_DYNAMIC
protected static java.lang.String XERCES_SCHEMA
protected static float version
float representing the underlying Xerces version
protected static java.lang.String versionNumber
| Constructor Detail | 
|---|
public XercesParser()
| Method Detail | 
|---|
public static javax.xml.parsers.SAXParser newSAXParser(java.util.Properties properties)
                                                throws javax.xml.parsers.ParserConfigurationException,
                                                       org.xml.sax.SAXException,
                                                       org.xml.sax.SAXNotSupportedException
SAXParser based on the underlying
 Xerces version.
properties - parser specific properties/features
SAXParser
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
org.xml.sax.SAXNotSupportedException| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||