net.sf.taverna.tools
Class Scavengers

java.lang.Object
  extended by net.sf.taverna.tools.Scavengers

public class Scavengers
extends java.lang.Object


Field Summary
static org.jdom.Namespace NS
           
 
Constructor Summary
Scavengers()
           
 
Method Summary
static org.jdom.Element allScavengersAsXML()
          Represent as XML all the installed scavengers and their factories.
static java.util.List<Scavenger> getScavengers()
          Get the full list of default/configured scavengers for this Taverna installation.
static void main(java.lang.String[] args)
          Print an XML representation of all the installed scavengers and their factories.
static org.jdom.Element scavengerAsXML(javax.swing.tree.DefaultMutableTreeNode node)
          Represent a tree of scavengers as XML.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS

public static org.jdom.Namespace NS
Constructor Detail

Scavengers

public Scavengers()
Method Detail

getScavengers

public static java.util.List<Scavenger> getScavengers()
Get the full list of default/configured scavengers for this Taverna installation.

Returns:
List
See Also:
DefaultMutableTreeNode

main

public static void main(java.lang.String[] args)
Print an XML representation of all the installed scavengers and their factories. The XML document mirrors the tree as shown in the Taverna workbench Scavenger tree panel.


allScavengersAsXML

public static org.jdom.Element allScavengersAsXML()
Represent as XML all the installed scavengers and their factories.

Returns:
An Element scavengers

scavengerAsXML

public static org.jdom.Element scavengerAsXML(javax.swing.tree.DefaultMutableTreeNode node)
Represent a tree of scavengers as XML.

Parameters:
node - A DefaultMutableTreeNode as in the list of getScavengers().
Returns:
An Element, namely a factory or tree
See Also:
getScavengers()