|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectshocks.framework.util.XMLLoader
This loader class uses an XML file or path to a file to build and return a fully populated XML Document object.
Constructor Summary | |
XMLLoader()
|
Method Summary | |
static org.dom4j.Document |
getDocument(java.io.File descriptor)
Accepts an XML file and returns a Document |
static org.dom4j.Document |
getDocument(java.lang.String path)
Accepts a path to an xml file and returns a document |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLLoader()
Method Detail |
public static org.dom4j.Document getDocument(java.io.File descriptor)
descriptor
- representing the shocks workflow descriptor
public static org.dom4j.Document getDocument(java.lang.String path)
path
- to the xml document.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |