uk.ac.ncl.cs.instantsoap.commandlineprocessor.commandLine
Class Argument<Value>
java.lang.Object
uk.ac.ncl.cs.instantsoap.commandlineprocessor.commandLine.Argument<Value>
- Direct Known Subclasses:
- Option, Parameter
public abstract class Argument<Value>
- extends Object
A command-line argument - either an Option or a Parameter.
- Author:
- Matthew Pocock
Method Summary |
abstract void |
visit(Argument.ArgumentVisitor<Value> visitor)
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Argument
public Argument()
visit
public abstract void visit(Argument.ArgumentVisitor<Value> visitor)
- Visit this argument, triggering the handle method of the visitor specific to the
concrete class of the argument.
- Parameters:
visitor
- the argumentVisitor
that should visit this argument
Copyright © 2006-2008. All Rights Reserved.