|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.util.XMLResourceDescriptor
public class XMLResourceDescriptor
This class describes the XML resources needed to use the various batik modules.
Field Summary | |
---|---|
static String |
CSS_PARSER_CLASS_NAME_KEY
The CSS parser class name key. |
protected static String |
cssParserClassName
The class name of the CSS parser to use. |
protected static Properties |
parserProps
The resource bundle |
static String |
RESOURCES
The resources file name |
static String |
XML_PARSER_CLASS_NAME_KEY
The XML parser class name key. |
protected static String |
xmlParserClassName
The class name of the XML parser to use. |
Constructor Summary | |
---|---|
XMLResourceDescriptor()
|
Method Summary | |
---|---|
static String |
getCSSParserClassName()
Returns the class name of the CSS parser to use. |
protected static Properties |
getParserProps()
|
static String |
getXMLParserClassName()
Returns the class name of the XML parser to use. |
static void |
setCSSParserClassName(String cssParserClassName)
Sets the class name of the CSS parser to use. |
static void |
setXMLParserClassName(String xmlParserClassName)
Sets the class name of the XML parser to use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String XML_PARSER_CLASS_NAME_KEY
public static final String CSS_PARSER_CLASS_NAME_KEY
public static final String RESOURCES
protected static Properties parserProps
protected static String xmlParserClassName
protected static String cssParserClassName
Constructor Detail |
---|
public XMLResourceDescriptor()
Method Detail |
---|
protected static Properties getParserProps()
public static String getXMLParserClassName()
This method first checks if any XML parser has been specified using the setXMLParserClassName method. If any, this method will return the value of the property 'org.xml.sax.driver' specified in the resources/XMLResourceDescriptor.properties resource file.
public static void setXMLParserClassName(String xmlParserClassName)
xmlParserClassName
- the classname of the XML parserpublic static String getCSSParserClassName()
This method first checks if any CSS parser has been specified using the setCSSParserClassName method. If any, this method will return the value of the property 'org.w3c.css.sac.driver' specified in the resources/XMLResourceDescriptor.properties resource file.
public static void setCSSParserClassName(String cssParserClassName)
cssParserClassName
- the classname of the CSS parser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |