org.webmacro.directive
Class Directive.ExactlyOneChoice

java.lang.Object
  extended byorg.webmacro.directive.Directive.ArgDescriptor
      extended byorg.webmacro.directive.Directive.OptionChoice
          extended byorg.webmacro.directive.Directive.ExactlyOneChoice
Enclosing class:
Directive

public static class Directive.ExactlyOneChoice
extends Directive.OptionChoice

The ExactlyOneChoice indicates that exactly one of several optional groups can be accepted, only once. Otherwise works exactly as OptionChoice.


Field Summary
 
Fields inherited from class org.webmacro.directive.Directive.OptionChoice
repeating
 
Fields inherited from class org.webmacro.directive.Directive.ArgDescriptor
children, id, keyword, nextArg, optional, subordinateArgs, type
 
Constructor Summary
Directive.ExactlyOneChoice(int groupCount)
           
 
Methods inherited from class org.webmacro.directive.Directive.ArgDescriptor
setOptional, setSubordinateArgs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Directive.ExactlyOneChoice

public Directive.ExactlyOneChoice(int groupCount)