|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridbus.broker.xpml.XPMLReader
public class XPMLReader
This is the main class that will read any XPML file.
| Constructor Summary | |
|---|---|
XPMLReader()
|
|
| Method Summary | |
|---|---|
java.util.Vector |
getDataFileList()
|
java.util.Hashtable |
getDataHostTable()
|
java.util.Vector |
getJobs()
|
NodeRequirement |
getNodeRequirements()
|
void |
parseXML(java.lang.String appDescFileName)
Loads a document from a file specified, and parses it to a collection of jobs and requirement objects. |
void |
setDestinationFile(java.lang.String xmlDestination)
Sets the destination file location for the substitute command. |
void |
setServices(java.util.Vector services)
Information / other services needed during data discovery. |
void |
setSourceFile(java.lang.String xmlSource)
Sets the source file location for this substitute command. |
boolean |
validateXML()
Validates an XML document |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPMLReader()
| Method Detail |
|---|
public void setSourceFile(java.lang.String xmlSource)
xmlSource - public void setDestinationFile(java.lang.String xmlDestination)
xmlDestination -
public void parseXML(java.lang.String appDescFileName)
throws java.net.MalformedURLException,
org.dom4j.DocumentException
appDescFileName -
java.net.MalformedURLException
org.dom4j.DocumentExceptionpublic java.util.Vector getJobs()
public NodeRequirement getNodeRequirements()
public boolean validateXML()
public java.util.Vector getDataFileList()
public void setServices(java.util.Vector services)
services - public java.util.Hashtable getDataHostTable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||