jpov.substitution
Class SubTmpVar

java.lang.Object
  extended byjpov.substitution.SubTmpVar
All Implemented Interfaces:
Substitution

public class SubTmpVar
extends java.lang.Object
implements Substitution

This class corresponds to the substitution of a tempory variable with a formula.

Author:
L. Burdy

Constructor Summary
SubTmpVar(IJml2bConfiguration config, IJmlFile fi, JpoInputStream s)
          Constructs a substitution from a loaded .jpo file
 
Method Summary
 java.lang.String getInfo()
          Returns the informations to displayed in the Java view to simulate the substitution
 void save(IJml2bConfiguration config, JpoOutputStream s, IJmlFile jf)
          Saves the substitution in a .jpo file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubTmpVar

public SubTmpVar(IJml2bConfiguration config,
                 IJmlFile fi,
                 JpoInputStream s)
          throws java.io.IOException,
                 LoadException
Constructs a substitution from a loaded .jpo file

Parameters:
s - The input stream corresponding to the jpo file
Method Detail

save

public void save(IJml2bConfiguration config,
                 JpoOutputStream s,
                 IJmlFile jf)
          throws java.io.IOException
Description copied from interface: Substitution
Saves the substitution in a .jpo file

Specified by:
save in interface Substitution
Parameters:
config -
s - The output stream corresponding to the file.
jf -
Throws:
java.io.IOException

getInfo

public java.lang.String getInfo()
Description copied from interface: Substitution
Returns the informations to displayed in the Java view to simulate the substitution

Specified by:
getInfo in interface Substitution
Returns:
tmp <- f