com.sri.emo.wizard.expressoimpl
Class ExpressoLink

java.lang.Object
  extended by com.sri.emo.wizard.expressoimpl.ExpressoLink
All Implemented Interfaces:
Link, Externalizable, Serializable, Cloneable

public class ExpressoLink
extends Object
implements Link, Serializable, Externalizable, Cloneable

Link bridge between Wizard links and Expresso Transitions.

Author:
Michael Rimov
See Also:
Serialized Form

Constructor Summary
ExpressoLink()
          Do not use except for Externalization.
ExpressoLink(Transition t)
          Construction takes an Expresso Transition as its
 
Method Summary
 Object clone()
           
 String getLink()
          Provides a context-relative URL to something else.
 Transition getTransition()
          Returns the transition for the link.
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressoLink

public ExpressoLink()
Do not use except for Externalization.


ExpressoLink

public ExpressoLink(Transition t)
Construction takes an Expresso Transition as its

Parameters:
t - the Expresso Transition.
Method Detail

getTransition

public Transition getTransition()
Returns the transition for the link.

Returns:
Transition.

getLink

public String getLink()
               throws WizardException
Description copied from interface: Link
Provides a context-relative URL to something else.

Specified by:
getLink in interface Link
Returns:
String, full URL
Throws:
WizardException - upon error for generating the link.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.