Package org.apache.commons.digester
Class ParserFeatureSetterFactory
- java.lang.Object
-
- org.apache.commons.digester.ParserFeatureSetterFactory
-
@Deprecated public class ParserFeatureSetterFactory extends 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 SAXParsernewSAXParser(Properties properties)Deprecated.Create a newSAXParser
-
-
-
Method Detail
-
newSAXParser
public static SAXParser newSAXParser(Properties properties) throws ParserConfigurationException, SAXException, SAXNotRecognizedException, SAXNotSupportedException
Deprecated.Create a newSAXParser- Parameters:
properties- (logical) properties to be set on parser- Returns:
- a
SAXParserconfigured based on the underlying parser implementation. - Throws:
ParserConfigurationExceptionSAXExceptionSAXNotRecognizedExceptionSAXNotSupportedException
-
-