org.exolab.adaptx.xslt.util
public class Configuration extends Object
Version: $Revision: 4775 $ $Date: 2004-09-28 15:36:05 -0400 (Tue, 28 Sep 2004) $
Field Summary | |
---|---|
static String | DEFAULT_PARSER
The default DOM parser
|
static String | DEFAULT_PARSER_NAME |
static String | DOM_PARSER
The DOMParser property name
|
static String | JAXP_PARSER
The JAXP parser flag
|
static String | PROPERTIES_FILE
The Name of the properties file
|
static String | SAX_PARSER
The SAX parser property name
|
static boolean | useJAXP
A flag to indicate that JAXP should be used |
Method Summary | |
---|---|
static DOMParser | getDOMParser()
Returns the DOMParser specified in the properties file,
or the one set via a call to #setDOMParser. |
static String | getProperty(String name)
Returns the property value associated with the given name |
static Parser | getSAXParser()
Returns the SAX Parser specified in the properties file.
|
static XMLReader | getXMLReader()
Returns the configured XMLReader
|
static void | setDOMParser(DOMParser domParser)
Sets the DOMParser to return when a call to getDOMParser
is made.
|
static void | setProperty(String property, String value)
Sets the property value associated with the given String. |
Returns: the DOMParser specified in the properties file
Returns: the property with the given name, or null if no property was found.
Returns: the SAX Parser specified in the properties file
Returns: an instance of the configured XMLReader
Parameters: domParser the DOMParser to return when a call to #getDOMParser is made.
UNKNOWN: the property to set the value of the property
See xslp.properties for for a list of properties