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.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
Deprecated.The Log to which all SAX event related logging calls will be made. -
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.