org.apache.commons.digester
Class ParserFeatureSetterFactory
java.lang.Object
org.apache.commons.digester.ParserFeatureSetterFactory
public class ParserFeatureSetterFactory
extends java.lang.Object
Creates a SAXParser
based on the underlying parser.
Allows logical properties depending on logical parser versions
to be set.
static SAXParser | newSAXParser(Properties properties) - Create a new
SAXParser
|
isXercesUsed
private static boolean isXercesUsed
true
is Xerces is used.
newSAXParser
public static SAXParser newSAXParser(Properties properties)
throws ParserConfigurationException,
SAXException,
SAXNotRecognizedException,
SAXNotSupportedException
Create a new SAXParser
properties
- (logical) properties to be set on parser
- a
SAXParser
configured based on the underlying
parser implementation.
Copyright 2001-2005 The Apache Software Foundation.