Class GenericParser
java.lang.Object
org.apache.commons.digester.parser.GenericParser
Deprecated.
Create a
SAXParser
configured to support XML Schema and DTD.- Since:
- 1.6
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static String
Deprecated.The JAXP 1.2 property to set up the schemaLanguage used.private static final String
Deprecated.The JAXP 1.2 property required to set up the schema location.protected static org.apache.commons.logging.Log
Deprecated.The Log to which all SAX event related logging calls will be made. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SAXParser
newSAXParser
(Properties properties) Deprecated.Create aSAXParser
configured to support XML Scheman and DTD
-
Field Details
-
log
protected static org.apache.commons.logging.Log logDeprecated.The Log to which all SAX event related logging calls will be made. -
JAXP_SCHEMA_SOURCE
Deprecated.The JAXP 1.2 property required to set up the schema location.- See Also:
-
JAXP_SCHEMA_LANGUAGE
Deprecated.The JAXP 1.2 property to set up the schemaLanguage used.
-
-
Constructor Details
-
GenericParser
public GenericParser()Deprecated.
-
-
Method Details
-
newSAXParser
public static SAXParser newSAXParser(Properties properties) throws ParserConfigurationException, SAXException, SAXNotRecognizedException Deprecated.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
-
Digester
constructor, or useDigester.setXMLSchema(javax.xml.validation.Schema)
for validation.