Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scuflworkers.beanshell
Class BeanshellXMLHandler  view BeanshellXMLHandler download BeanshellXMLHandler.java

java.lang.Object
  extended byorg.embl.ebi.escience.scuflworkers.beanshell.BeanshellXMLHandler
All Implemented Interfaces:
org.embl.ebi.escience.scuflworkers.XMLHandler

public class BeanshellXMLHandler
extends java.lang.Object
implements org.embl.ebi.escience.scuflworkers.XMLHandler

Handles XML store and load for the beanshell processor


Constructor Summary
BeanshellXMLHandler()
           
 
Method Summary
 org.jdom.Element elementForProcessor(org.embl.ebi.escience.scufl.Processor p)
          Return the spec element, that is to say the processor specific portion of the processor element.
 org.embl.ebi.escience.scufl.Processor loadProcessorFromXML(org.jdom.Element processorNode, org.embl.ebi.escience.scufl.ScuflModel model, java.lang.String name)
          Create a new processor from the given chunk of XML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanshellXMLHandler

public BeanshellXMLHandler()
Method Detail

elementForProcessor

public org.jdom.Element elementForProcessor(org.embl.ebi.escience.scufl.Processor p)
Description copied from interface: org.embl.ebi.escience.scuflworkers.XMLHandler
Return the spec element, that is to say the processor specific portion of the processor element. For example, the soaplab implementation of this method returns the element rooted at the 'soaplabwsdl' element.

Specified by:
elementForProcessor in interface org.embl.ebi.escience.scuflworkers.XMLHandler

loadProcessorFromXML

public org.embl.ebi.escience.scufl.Processor loadProcessorFromXML(org.jdom.Element processorNode,
                                                                  org.embl.ebi.escience.scufl.ScuflModel model,
                                                                  java.lang.String name)
                                                           throws org.embl.ebi.escience.scufl.ProcessorCreationException,
                                                                  org.embl.ebi.escience.scufl.DuplicateProcessorNameException,
                                                                  org.embl.ebi.escience.scufl.parser.XScuflFormatException
Description copied from interface: org.embl.ebi.escience.scuflworkers.XMLHandler
Create a new processor from the given chunk of XML

Specified by:
loadProcessorFromXML in interface org.embl.ebi.escience.scuflworkers.XMLHandler