Version: 1.1.1

ca.ucalgary.seahawk.gui
Class MobyPayloadCreator

java.lang.Object
  extended by ca.ucalgary.seahawk.gui.MobyPayloadCreator
All Implemented Interfaces:
MobyPayloadRequestListener

public class MobyPayloadCreator
extends Object
implements MobyPayloadRequestListener

Builds a MobyContentInstance based on the requested selection criteria. Ties itself to a MobyContentPane for data retrieval efficiency in case the source document is already loaded in-memory for the GUI.


Constructor Summary
MobyPayloadCreator(MobyContentPane pane, String requestKey)
           
 
Method Summary
 MobyContentInstance createPayload(String targetJobArgName)
          Assumes the listener knows what payload to create based on some internal context stored by the listener.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobyPayloadCreator

public MobyPayloadCreator(MobyContentPane pane,
                          String requestKey)
Method Detail

createPayload

public MobyContentInstance createPayload(String targetJobArgName)
Description copied from interface: MobyPayloadRequestListener
Assumes the listener knows what payload to create based on some internal context stored by the listener. (i.e. you need to create a new listener specific to each deferred payload.

Specified by:
createPayload in interface MobyPayloadRequestListener
Parameters:
targetJobArgName - the name of the moby job parameter to which each value should be assigned

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010