org.webmacro.directive
Class Directive.SingleOptionChoice

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

public static class Directive.SingleOptionChoice
extends Directive.OptionChoice

The SingleOptionChoice indicates that zero or one of several optional groups can be accepted, but 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.SingleOptionChoice(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.SingleOptionChoice

public Directive.SingleOptionChoice(int groupCount)