org.opensourcephysics.tools
Class LocalJob

java.lang.Object
  extended by org.opensourcephysics.tools.LocalJob
All Implemented Interfaces:
java.rmi.Remote, Job
Direct Known Subclasses:
ClipboardJob

public class LocalJob
extends java.lang.Object
implements Job

This is a Job implementation for osp data transfers within a single vm.

Version:
1.0
Author:
Douglas Brown

Constructor Summary
LocalJob()
          Constructs a LocalJob.
LocalJob(java.lang.Object obj)
          Constructs a LocalJob for a specified object.
LocalJob(java.lang.String xml)
          Constructs a LocalJob with a specified xml string.
 
Method Summary
 java.lang.String getXML()
          Gets the xml string.
 void setXML(java.lang.Object obj)
          Sets the xml string to that saved by the specified object.
 void setXML(java.lang.String xml)
          Sets the xml string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalJob

public LocalJob()
Constructs a LocalJob.


LocalJob

public LocalJob(java.lang.String xml)
Constructs a LocalJob with a specified xml string.

Parameters:
xml - the string

LocalJob

public LocalJob(java.lang.Object obj)
Constructs a LocalJob for a specified object.

Parameters:
obj - the object
Method Detail

getXML

public java.lang.String getXML()
Gets the xml string. Implements Job.

Specified by:
getXML in interface Job
Returns:
the xml string

setXML

public void setXML(java.lang.String xml)
Sets the xml string. Implements Job.

Specified by:
setXML in interface Job
Parameters:
xml - the xml string

setXML

public void setXML(java.lang.Object obj)
Sets the xml string to that saved by the specified object.

Parameters:
obj - the object