org.globus.rsl
public class Value extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Value |
concatValue |
protected java.lang.String |
value |
Constructor and Description |
---|
Value(java.lang.String value) |
Value(java.lang.String value,
Value concatValue) |
Modifier and Type | Method and Description |
---|---|
void |
concat(Value value)
Appends the specified value to the end of the chain
of concatinated values.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
evaluate(java.util.Map symbolTable)
Evaluates the value with the specified
symbol table.
|
java.lang.String |
getCompleteValue()
Returns a complete string representation of this
value.
|
Value |
getConcat()
Returns the value that is concatinated
with this value.
|
java.lang.String |
getValue()
Returns the actual string value.
|
int |
hashCode() |
void |
setValue(java.lang.String value)
Sets the actual value.
|
java.lang.String |
toRSL(boolean explicitConcat)
Returns a RSL representation of this value.
|
void |
toRSL(java.lang.StringBuffer buf,
boolean explicitConcat)
Produces a RSL representation of this value.
|
java.lang.String |
toString() |
protected java.lang.String value
protected Value concatValue
public Value(java.lang.String value)
public Value(java.lang.String value, Value concatValue)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setValue(java.lang.String value)
value
- the new value.public java.lang.String getValue()
public Value getConcat()
public void concat(Value value)
value
- the value to concatinate.public java.lang.String evaluate(java.util.Map symbolTable) throws RslEvaluationException
symbolTable
- the symbol table to evaluate
the value against.RslEvaluationException
- If an error occured during
rsl evaluation.public java.lang.String toRSL(boolean explicitConcat)
explicitConcat
- if true explicit concatination will
be used in RSL strings.public void toRSL(java.lang.StringBuffer buf, boolean explicitConcat)
buf
- buffer to add the RSL representation to.explicitConcat
- if true explicit concatination will
be used in RSL strings.public java.lang.String getCompleteValue()
public java.lang.String toString()
toString
in class java.lang.Object