|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.globus.rsl.Value
public class Value
This class represents a simple value (a string) that can be concatinated with another value.
Field Summary | |
---|---|
protected Value |
concatValue
|
protected String |
value
|
Constructor Summary | |
---|---|
Value(String value)
|
|
Value(String value,
Value concatValue)
|
Method Summary | |
---|---|
void |
concat(Value value)
Appends the specified value to the end of the chain of concatinated values. |
boolean |
equals(Object obj)
|
String |
evaluate(Map symbolTable)
Evaluates the value with the specified symbol table. |
String |
getCompleteValue()
Returns a complete string representation of this value. |
Value |
getConcat()
Returns the value that is concatinated with this value. |
String |
getValue()
Returns the actual string value. |
int |
hashCode()
|
void |
setValue(String value)
Sets the actual value. |
String |
toRSL(boolean explicitConcat)
Returns a RSL representation of this value. |
void |
toRSL(StringBuffer buf,
boolean explicitConcat)
Produces a RSL representation of this value. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String value
protected Value concatValue
Constructor Detail |
---|
public Value(String value)
public Value(String value, Value concatValue)
Method Detail |
---|
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setValue(String value)
value
- the new value.public String getValue()
public Value getConcat()
public void concat(Value value)
value
- the value to concatinate.public String evaluate(Map symbolTable) throws RslEvaluationException
symbolTable
- the symbol table to evaluate
the value against.
RslEvaluationException
- If an error occured during
rsl evaluation.public String toRSL(boolean explicitConcat)
explicitConcat
- if true explicit concatination will
be used in RSL strings.
public void toRSL(StringBuffer buf, boolean explicitConcat)
buf
- buffer to add the RSL representation to.explicitConcat
- if true explicit concatination will
be used in RSL strings.public String getCompleteValue()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |