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 StringDeprecated.The JAXP 1.2 property to set up the schemaLanguage used.private static final StringDeprecated.The JAXP 1.2 property required to set up the schema location.protected static org.apache.commons.logging.LogDeprecated.The Log to which all SAX event related logging calls will be made. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SAXParsernewSAXParser(Properties properties) Deprecated.Create aSAXParserconfigured 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 aSAXParserconfigured to support XML Scheman and DTD- Parameters:
properties- parser specific properties/features- Returns:
- an XML Schema/DTD enabled
SAXParser - Throws:
ParserConfigurationExceptionSAXExceptionSAXNotRecognizedException
-
Digesterconstructor, or useDigester.setXMLSchema(javax.xml.validation.Schema)for validation.