|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridbus.broker.xgrl.XGRLReader
public class 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()
|
|
XGRLReader(java.lang.Object config)
|
|
| Method Summary | |
|---|---|
java.util.Hashtable |
getCredentials()
|
java.util.Vector |
getServers()
|
java.util.Vector |
getServices()
|
java.util.Vector |
getStorageServers()
|
java.lang.String |
getXmlSource()
|
void |
parseXGRL(java.lang.String resourceDescFileName)
Loads a document from a file specified, and parses it to a collection of jobs and requirement objects. |
void |
setCredentials(java.util.Hashtable credentials)
|
void |
setServers(java.util.Vector servers)
|
void |
setServices(java.util.Vector services)
|
void |
setSourceFile(java.lang.String xmlSource)
Sets the source file location for this substitute command. |
void |
setStorageServers(java.util.Vector storageServers)
|
void |
setXmlSource(java.lang.String xmlSource)
|
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()
public XGRLReader(java.lang.Object config)
config - | Method Detail |
|---|
public void setSourceFile(java.lang.String xmlSource)
xmlSource -
public void parseXGRL(java.lang.String resourceDescFileName)
throws java.net.MalformedURLException,
org.dom4j.DocumentException
resourceDescFileName -
java.net.MalformedURLException
org.dom4j.DocumentExceptionpublic boolean validateXGRL()
public java.util.Hashtable getCredentials()
public void setCredentials(java.util.Hashtable credentials)
credentials - The credentials to set.public java.util.Vector getServers()
public void setServers(java.util.Vector servers)
servers - The servers to set.public java.util.Vector getServices()
public void setServices(java.util.Vector services)
services - The services to set.public java.util.Vector getStorageServers()
public void setStorageServers(java.util.Vector storageServers)
storageServers - The storageServers to set.public java.lang.String getXmlSource()
public 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 | |||||||||