org.apache.batik.util
Class XMLResourceDescriptor
java.lang.Object
|
+--org.apache.batik.util.XMLResourceDescriptor
- public class XMLResourceDescriptor
- extends java.lang.Object
This class describes the XML resources needed to use the various batik
modules.
Field Summary |
protected static java.util.ResourceBundle |
bundle
The resource bundle |
static java.lang.String |
RESOURCES
The resources file name |
static java.lang.String |
XML_PARSER_CLASS_NAME_KEY
The XML parser class name key. |
protected static java.lang.String |
xmlParserClassName
The class name of the XML parser to use. |
Method Summary |
static java.lang.String |
getXMLParserClassName()
Returns the class name of the XML parser to use.
|
static void |
setXMLParserClassName(java.lang.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 |
XML_PARSER_CLASS_NAME_KEY
public static final java.lang.String XML_PARSER_CLASS_NAME_KEY
- The XML parser class name key.
RESOURCES
public static final java.lang.String RESOURCES
- The resources file name
bundle
protected static java.util.ResourceBundle bundle
- The resource bundle
xmlParserClassName
protected static java.lang.String xmlParserClassName
- The class name of the XML parser to use.
XMLResourceDescriptor
public XMLResourceDescriptor()
getXMLParserClassName
public static java.lang.String getXMLParserClassName()
- Returns the class name of the XML parser to use.
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.
setXMLParserClassName
public static void setXMLParserClassName(java.lang.String xmlParserClassName)
- Sets the class name of the XML parser to use.
- Parameters:
xmlParserClassName
- the classname of the XML parser
Copyright © 2001 Apache Software Foundation. All Rights Reserved.