Class GenericParser
java.lang.Object
org.apache.commons.digester.parser.GenericParser
Create a
SAXParser
configured to support XML Schema and DTD.- Since:
- 1.6
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SAXParser
newSAXParser
(Properties properties) Create aSAXParser
configured to support XML Scheman and DTD
-
Field Details
-
log
protected static Log logThe Log to which all SAX event related logging calls will be made. -
JAXP_SCHEMA_SOURCE
The JAXP 1.2 property required to set up the schema location.- See Also:
-
JAXP_SCHEMA_LANGUAGE
The JAXP 1.2 property to set up the schemaLanguage used.
-
-
Constructor Details
-
GenericParser
public GenericParser()
-
-
Method Details
-
newSAXParser
public static SAXParser newSAXParser(Properties properties) throws ParserConfigurationException, SAXException, SAXNotRecognizedException Create aSAXParser
configured to support XML Scheman and DTD- Parameters:
properties
- parser specific properties/features- Returns:
- an XML Schema/DTD enabled
SAXParser
- Throws:
ParserConfigurationException
SAXException
SAXNotRecognizedException
-