org.biomoby.client.taverna.plugin
Class ParseMobyXML
java.lang.Object
org.biomoby.client.taverna.plugin.ParseMobyXML
public class ParseMobyXML
- extends java.lang.Object
This class is used to help parse BioMOBY messages.
- Author:
- Edward Kawas
|
Method Summary |
static java.util.ArrayList<java.lang.String> |
getContentForDataType(java.util.ArrayList<java.lang.String> names,
int type,
java.lang.String xml,
java.lang.String endpoint)
PRECONDITION: XML is valid MOBY xml and contains exactly 1 invocation
message containing our simple element |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE
public static final int NAMESPACE
- See Also:
- Constant Field Values
ID
public static final int ID
- See Also:
- Constant Field Values
VALUE
public static final int VALUE
- See Also:
- Constant Field Values
ParseMobyXML
public ParseMobyXML()
getContentForDataType
public static java.util.ArrayList<java.lang.String> getContentForDataType(java.util.ArrayList<java.lang.String> names,
int type,
java.lang.String xml,
java.lang.String endpoint)
- PRECONDITION: XML is valid MOBY xml and contains exactly 1 invocation
message containing our simple element
- Parameters:
names - an array of article names in the order that we will
extract our informationtype - one of {NAMESPACE | ID | VALUE} denoting what exactly it
is that you would like returnedxml - the MOBY xml containing the data to extractendpoint - the BioMOBY registry endpoint to use
- Returns:
- a list of strings representing what it is you asked for