Package org.apache.commons.digester
Class ParserFeatureSetterFactory
- java.lang.Object
-
- org.apache.commons.digester.ParserFeatureSetterFactory
-
@Deprecated public class ParserFeatureSetterFactory extends java.lang.Object
Deprecated.Create an XMLParser instance yourself, configure validation appropriately, and pass it as a parameter to theDigesterconstructor, or useDigester.setXMLSchema(javax.xml.validation.Schema)for validation.Creates aSAXParserbased on the underlying parser. Allows logical properties depending on logical parser versions to be set.- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description ParserFeatureSetterFactory()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static javax.xml.parsers.SAXParsernewSAXParser(java.util.Properties properties)Deprecated.Create a newSAXParser
-
-
-
Constructor Detail
-
ParserFeatureSetterFactory
public ParserFeatureSetterFactory()
Deprecated.
-
-
Method Detail
-
newSAXParser
public static javax.xml.parsers.SAXParser newSAXParser(java.util.Properties properties) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
Deprecated.Create a newSAXParser- Parameters:
properties- (logical) properties to be set on parser- Returns:
- a
SAXParserconfigured based on the underlying parser implementation. - Throws:
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedException
-
-