|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.embl.ebi.escience.baclava.factory.DataThingXMLFactory
public class DataThingXMLFactory
Performs the creation of XML elements from DataThing objects and the configuration of existing DataThing objects from an XML representation.
| Field Summary | |
|---|---|
static org.jdom.Namespace |
namespace
The namespace used in the XML representation of a DataThing object |
| Constructor Summary | |
|---|---|
DataThingXMLFactory()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
configureDataThing(org.jdom.Element rootElement,
DataThing theDataThing)
Build a DataThing from the supplied Element object, the Element in this case is the 'myGridDataDocument' element. |
static org.jdom.Document |
getDataDocument(java.util.Map dataThings)
Return a Document from a Map of String to DataThing, this is the input and output document format for the workflow enactment engine. |
static org.jdom.Element |
getElement(DataThing theDataThing)
Return an XML Jdom Element object for the DataThing supplied as the argument |
static java.util.Map<java.lang.String,DataThing> |
parseDataDocument(org.jdom.Document dataDocument)
Parse a data document and return a Map of DataThing objects, the keys in the map being the string key attributes from the data document |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static org.jdom.Namespace namespace
| Constructor Detail |
|---|
public DataThingXMLFactory()
| Method Detail |
|---|
public static org.jdom.Document getDataDocument(java.util.Map dataThings)
public static java.util.Map<java.lang.String,DataThing> parseDataDocument(org.jdom.Document dataDocument)
public static java.lang.Object configureDataThing(org.jdom.Element rootElement,
DataThing theDataThing)
public static org.jdom.Element getElement(DataThing theDataThing)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||