|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.gridbus.broker.xgrl.XGRLReader
This is the main class that will read any XML file. AbstractDemo is a class that was provided by the dom4j package. Saves a whole lot of trouble.
| Constructor Summary | |
XGRLReader()
|
|
| Method Summary | |
static java.util.Hashtable |
getCredentials()
|
static java.util.Vector |
getServers()
|
static java.util.Vector |
getServices()
|
static java.util.Vector |
getStorageServers()
|
static java.lang.String |
getXmlSource()
|
static void |
parseXGRL(java.lang.String resourceDescFileName)
Loads a document from a file specified, and parses it to a collection of jobs and requirement objects. |
static void |
setCredentials(java.util.Hashtable credentials)
|
static void |
setServers(java.util.Vector servers)
|
static void |
setServices(java.util.Vector services)
|
static void |
setSourceFile(java.lang.String xmlSource)
Sets the source file location for this substitute command. |
static void |
setStorageServers(java.util.Vector storageServers)
|
static void |
setXmlSource(java.lang.String xmlSource)
|
static boolean |
validateXGRL()
Validates an XGRL document |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XGRLReader()
| Method Detail |
public static void setSourceFile(java.lang.String xmlSource)
xmlSource -
public static void parseXGRL(java.lang.String resourceDescFileName)
throws java.net.MalformedURLException,
org.dom4j.DocumentException
resourceDescFileName -
java.net.MalformedURLException
org.dom4j.DocumentExceptionpublic static boolean validateXGRL()
public static java.util.Hashtable getCredentials()
public static void setCredentials(java.util.Hashtable credentials)
credentials - The credentials to set.public static java.util.Vector getServers()
public static void setServers(java.util.Vector servers)
servers - The servers to set.public static java.util.Vector getServices()
public static void setServices(java.util.Vector services)
services - The services to set.public static java.util.Vector getStorageServers()
public static void setStorageServers(java.util.Vector storageServers)
storageServers - The storageServers to set.public static java.lang.String getXmlSource()
public static void setXmlSource(java.lang.String xmlSource)
xmlSource - The xmlSource to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||