org.apache.tomcat.util.digester
public class GenericParser extends java.lang.Object
SAXParser
configured to support XML Schema and DTD.Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
JAXP_SCHEMA_LANGUAGE
The JAXP 1.2 property to set up the schemaLanguage used.
|
protected static Log |
log
The Log to which all SAX event related logging calls will be made.
|
Constructor and Description |
---|
GenericParser() |
Modifier and Type | Method and Description |
---|---|
static javax.xml.parsers.SAXParser |
newSAXParser(java.util.Properties properties)
Create a
SAXParser configured to support XML Scheman and DTD |
protected static Log log
protected static java.lang.String JAXP_SCHEMA_LANGUAGE
public static javax.xml.parsers.SAXParser newSAXParser(java.util.Properties properties) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, org.xml.sax.SAXNotRecognizedException
SAXParser
configured to support XML Scheman and DTDproperties
- parser specific properties/featuresSAXParser
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
org.xml.sax.SAXNotRecognizedException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.