|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.adaptx.xslt.util.Configuration
public class Configuration
A simple configuration class for the XSLT processor
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_PARSER
The default DOM parser |
static java.lang.String |
DEFAULT_PARSER_NAME
|
static java.lang.String |
DOM_PARSER
The DOMParser property name |
static java.lang.String |
JAXP_PARSER
The JAXP parser flag |
static java.lang.String |
PROPERTIES_FILE
The Name of the properties file |
static java.lang.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 java.lang.String |
getProperty(java.lang.String name)
Returns the property value associated with the given name |
static org.xml.sax.Parser |
getSAXParser()
Returns the SAX Parser specified in the properties file. |
static org.xml.sax.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(java.lang.String property,
java.lang.String value)
Sets the property value associated with the given String. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_PARSER
public static final java.lang.String DEFAULT_PARSER_NAME
public static final java.lang.String DOM_PARSER
public static final java.lang.String SAX_PARSER
public static final java.lang.String JAXP_PARSER
public static final boolean useJAXP
public static final java.lang.String PROPERTIES_FILE
Method Detail |
---|
public static DOMParser getDOMParser()
public static java.lang.String getProperty(java.lang.String name)
public static org.xml.sax.Parser getSAXParser()
public static org.xml.sax.XMLReader getXMLReader()
public static void setDOMParser(DOMParser domParser)
domParser
- the DOMParser to return when a call
to #getDOMParser is made.public static void setProperty(java.lang.String property, java.lang.String value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |