org.emboss.jemboss.parser
Class AcdVariableResolve

java.lang.Object
  extended byorg.emboss.jemboss.parser.AcdVariableResolve

public class AcdVariableResolve
extends java.lang.Object

Resolves variable references.


Field Summary
private  java.lang.String exp
          expression to resolve
 
Constructor Summary
AcdVariableResolve(java.lang.String exp, java.lang.String varName, java.lang.String varValue)
          Given an expression this is searched for occurences of a variable name for which the value is known.
 
Method Summary
 java.lang.String getResult()
          Get the resolved expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exp

private java.lang.String exp
expression to resolve

Constructor Detail

AcdVariableResolve

public AcdVariableResolve(java.lang.String exp,
                          java.lang.String varName,
                          java.lang.String varValue)
Given an expression this is searched for occurences of a variable name for which the value is known. The value is subsituted into the expression.

Parameters:
exp - expression to resolve
varName - variable name
varValue - variable value
Method Detail

getResult

public java.lang.String getResult()
Get the resolved expression

Returns:
result value of the expression