ca.ucalgary.seahawk.util
Class DataFlowRecorder
java.lang.Object
ca.ucalgary.seahawk.util.DataFlowRecorder
public class DataFlowRecorder
- extends Object
Takes a browsing history in Seahawk and turns it into a Taverna2 workflow (Programming-by-Example).
Method Summary |
Element |
createAnnotationChain(String beanClass,
String textValue,
Document doc)
|
void |
exportWorkflow(Map<URL,FilterSearch> resultDocuments,
OutputStream outputStream,
String workflowName,
String workflowTitle,
String workflowDescription,
String workflowAuthor,
int format)
Given a MOBY document, traces back the workflow required to create it. |
TAVERNA15
public static final int TAVERNA15
- See Also:
- Constant Field Values
T2FLOW
public static final int T2FLOW
- See Also:
- Constant Field Values
T2FLOW_NS
public static final String T2FLOW_NS
- See Also:
- Constant Field Values
T2FLOW_DISPATCHXML
public static final String T2FLOW_DISPATCHXML
- See Also:
- Constant Field Values
T2FLOW_REGEXFILTER_BEANSHELL
public static final String T2FLOW_REGEXFILTER_BEANSHELL
- See Also:
- Constant Field Values
T2FLOW_XPATHFILTER_BEANSHELL
public static final String T2FLOW_XPATHFILTER_BEANSHELL
- See Also:
- Constant Field Values
T2FLOW_PASSFILTER_BEANSHELL
public static final String T2FLOW_PASSFILTER_BEANSHELL
- See Also:
- Constant Field Values
T2FLOW_LISTFLATTEN_BEANSHELL
public static final String T2FLOW_LISTFLATTEN_BEANSHELL
- See Also:
- Constant Field Values
DataFlowRecorder
public DataFlowRecorder(Central mobyCtr)
throws Exception
- Throws:
Exception
exportWorkflow
public void exportWorkflow(Map<URL,FilterSearch> resultDocuments,
OutputStream outputStream,
String workflowName,
String workflowTitle,
String workflowDescription,
String workflowAuthor,
int format)
throws Exception
- Given a MOBY document, traces back the workflow required to create it.
- Parameters:
resultDocuments
- the output of the workflow to backtraceoutputStream
- where to write the outputworkflowName
- to be used as a label in the workflowformat
- the format to write the workflow in (currently, only DataFlowRecorder.T2FLOW works)
- Throws:
Exception
createAnnotationChain
public Element createAnnotationChain(String beanClass,
String textValue,
Document doc)
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010