org.apache.commons.digester

Class ParserFeatureSetterFactory

public class ParserFeatureSetterFactory extends Object

Creates a SAXParser based on the underlying parser. Allows logical properties depending on logical parser versions to be set.

Since: 1.6

Field Summary
static booleanisXercesUsed
true is Xerces is used.
Method Summary
static SAXParsernewSAXParser(Properties properties)
Create a new SAXParser

Field Detail

isXercesUsed

private static boolean isXercesUsed
true is Xerces is used.

Method Detail

newSAXParser

public static SAXParser newSAXParser(Properties properties)
Create a new SAXParser

Parameters: properties (logical) properties to be set on parser

Returns: a SAXParser configured based on the underlying parser implementation.

Copyright 2001-2005 The Apache Software Foundation.