|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.gridbus.broker.xpml.XPMLReader
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 | |
XPMLReader()
|
|
| Method Summary | |
static java.util.Vector |
getJobs()
|
static NodeRequirement |
getNodeRequirements()
|
static void |
parseXML(java.lang.String appDescFileName)
Loads a document from a file specified, and parses it to a collection of jobs and requirement objects. |
static void |
setDestinationFile(java.lang.String xmlDestination)
Sets the destination file location for the substitute command. |
static void |
setSourceFile(java.lang.String xmlSource)
Sets the source file location for this substitute command. |
static 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 static void setSourceFile(java.lang.String xmlSource)
xmlSource - public static void setDestinationFile(java.lang.String xmlDestination)
xmlDestination -
public static void parseXML(java.lang.String appDescFileName)
throws java.net.MalformedURLException,
org.dom4j.DocumentException
appDescFileName -
java.net.MalformedURLException
org.dom4j.DocumentExceptionpublic static java.util.Vector getJobs()
public static NodeRequirement getNodeRequirements()
public static boolean validateXML()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||