|
||||||||||
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 java.lang.String |
value
|
Constructor Summary | |
---|---|
Value(java.lang.String value)
|
|
Value(java.lang.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(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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String value
protected Value concatValue
Constructor Detail |
---|
public Value(java.lang.String value)
public Value(java.lang.String value, Value concatValue)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |