|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ncl.cs.instantsoap.commandlineprocessor.commandLine.Argument<Value>
uk.ac.ncl.cs.instantsoap.commandlineprocessor.commandLine.Parameter<Value>
public class Parameter<Value>
A command-line parameter. These are the 'naked' values on the command-line.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class uk.ac.ncl.cs.instantsoap.commandlineprocessor.commandLine.Argument |
|---|
Argument.ArgumentVisitor<Value> |
| Constructor Summary | |
|---|---|
Parameter()
Create a new parameter with the value set to null. |
|
Parameter(Value value)
Create a new parameter with the given value. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Value |
getValue()
Get the value. |
int |
hashCode()
|
void |
setValue(Value value)
Set the value. |
String |
toString()
|
void |
visit(Argument.ArgumentVisitor<Value> valueArgumentVisitor)
Visit this argument, triggering the handle method of the visitor specific to the concrete class of the argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Parameter()
public Parameter(Value value)
value - the value to use| Method Detail |
|---|
public void visit(Argument.ArgumentVisitor<Value> valueArgumentVisitor)
Argument
visit in class Argument<Value>valueArgumentVisitor - the argumentVisitor that should visit this argumentpublic Value getValue()
public void setValue(Value value)
value - the new valuepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||