1 32 33 package com.jeantessier.commandline; 34 35 public interface Visitor { 36 public void visitCommandLine(CommandLine cl); 37 38 public void visitToggleSwitch(ToggleSwitch cls); 39 public void visitSingleValueSwitch(SingleValueSwitch cls); 40 public void visitOptionalValueSwitch(OptionalValueSwitch cls); 41 public void visitMultipleValuesSwitch(MultipleValuesSwitch cls); 42 43 public void visitNullParameterStrategy(NullParameterStrategy strategy); 44 public void visitAnyParameterStrategy(AnyParameterStrategy strategy); 45 public void visitAtLeastParameterStrategy(AtLeastParameterStrategy strategy); 46 public void visitExactlyParameterStrategy(ExactlyParameterStrategy strategy); 47 public void visitAtMostParameterStrategy(AtMostParameterStrategy strategy); 48 } 49 | Popular Tags |