uk.ac.ncl.cs.instantsoap.commandlineprocessor.commandLine
Interface Argument.ArgumentVisitor<Value>

Enclosing class:
Argument<Value>

public static interface Argument.ArgumentVisitor<Value>

Visitor interface so that you can avoid instanceof checks.

Author:
Matthew Pocock

Method Summary
 void handle(Option<Value> o)
          Handle the case of an option.
 void handle(Parameter<Value> p)
          Handle the case of a parameter.
 

Method Detail

handle

void handle(Option<Value> o)
Handle the case of an option.

Parameters:
o - the Option to handle

handle

void handle(Parameter<Value> p)
Handle the case of a parameter.

Parameters:
p - the Parameter to handle


Copyright © 2006-2008. All Rights Reserved.