|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.sposh.elements.Arguments.Argument
cz.cuni.amis.pogamut.sposh.elements.Arguments.ValueArgument
protected static final class Arguments.ValueArgument
This argument is a static value, neverchanging, e.g. $degrees=5 or $color="red"
| Constructor Summary | |
|---|---|
protected |
Arguments.ValueArgument(int sequenceNumber,
Object value)
Create a value argument that represents fixed value. |
protected |
Arguments.ValueArgument(String parameterName,
Object value)
|
| Method Summary | |
|---|---|
protected Arguments.ValueArgument |
clone()
|
String |
getParameterVariable()
Is value of this parameter retrieved from variable or value? |
Object |
getValue()
Retrieve value of parameter. |
String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.sposh.elements.Arguments.Argument |
|---|
createValueArgument, createVariableArgument, getName, getParameterName |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Arguments.ValueArgument(int sequenceNumber,
Object value)
Sequence number is used as name of this argument. Since normal variables starts with $, it won't mix.
sequenceNumber - number of this argument in sequence of all
parameters. Starting from 0.value - value of parameter.
protected Arguments.ValueArgument(String parameterName,
Object value)
| Method Detail |
|---|
public Object getValue()
Arguments.Argument
getValue in class Arguments.Argumentpublic String getParameterVariable()
Arguments.Argument
getParameterVariable in class Arguments.Argumentpublic String toString()
toString in class Arguments.Argumentprotected Arguments.ValueArgument clone()
clone in class Arguments.Argument
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||