Package org.apache.tomcat.util.digester
Class ParserFeatureSetterFactory
- java.lang.Object
-
- org.apache.tomcat.util.digester.ParserFeatureSetterFactory
-
public class ParserFeatureSetterFactory extends Object
Creates aSAXParser
based on the underlying parser. Allows logical properties depending on logical parser versions to be set.- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description ParserFeatureSetterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SAXParser
newSAXParser(Properties properties)
Create a newSAXParser
-
-
-
Method Detail
-
newSAXParser
public static SAXParser newSAXParser(Properties properties) throws ParserConfigurationException, SAXException, SAXNotRecognizedException, SAXNotSupportedException
Create a newSAXParser
- Parameters:
properties
- (logical) properties to be set on parser- Returns:
- a
SAXParser
configured based on the underlying parser implementation. - Throws:
ParserConfigurationException
SAXException
SAXNotRecognizedException
SAXNotSupportedException
-
-