net.sourceforge.saxadapter.examples.env
Class EnvironmentLoader
java.lang.Object
|
+--net.sourceforge.saxadapter.examples.env.EnvironmentLoader
- class EnvironmentLoader
- extends java.lang.Object
This class loads an Environment object from an XML config file with the
following DTD
- Author:
- Mark Priest
Method Summary |
static Environment |
load(java.lang.String argResourceURL)
This method loads the environment based on the configuration
data located in the resource at the provided URLs. |
static Environment |
load(java.lang.String argResourceURL,
org.xml.sax.XMLReader argReader,
EnvironmentImpl argEnv)
This method loads the environment based on the configuration
data located in the resource at the provided URLs. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_TAG
public static final java.lang.String PROPERTY_TAG
- property tagname
NAME_TAG
public static final java.lang.String NAME_TAG
- property name tagname
PROPERTY_JAVATYPE_TAG
public static final java.lang.String PROPERTY_JAVATYPE_TAG
- property javaType tagname
PROPERTY_VALUE_TAG
public static final java.lang.String PROPERTY_VALUE_TAG
- property value tagname
EnvironmentLoader
EnvironmentLoader()
load
public static Environment load(java.lang.String argResourceURL,
org.xml.sax.XMLReader argReader,
EnvironmentImpl argEnv)
throws java.lang.Exception
- This method loads the environment based on the configuration
data located in the resource at the provided URLs.
- Parameters:
argResourceURL
- delimited list of URLs of the configuration
resources(: or ; delimted)argReader
- the parent XMLReader or null if noneargEnv
- the EnvironmentImpl instance to use or null- Returns:
- com.teti.telematics.core.resource.Environment
- Throws:
java.lang.Exception
-
load
public static Environment load(java.lang.String argResourceURL)
throws java.lang.Exception
- This method loads the environment based on the configuration
data located in the resource at the provided URLs.
- Parameters:
argResourceURL
- delimited list of URLs of the configuration
resources(: or ; delimted)- Returns:
- com.teti.telematics.core.resource.Environment
- Throws:
java.lang.Exception
-