|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.webmacro.directive.Directive.ArgDescriptor | +--org.webmacro.directive.Directive.OptionChoice
The OptionChoice indicates that several optional groups can be accepted in any order. The groupCount parameter is the number of OptionalGroup arguments following. Each group in the choice will be accepted zero or one time, in any order. For example, OptionChoice would allow a directive with the optional groups (Keyword("from"), RValue()) and (Keyword("max"), RValue()) to accept either "from n max m" or "from n" or "max m from n".
Field Summary | |
boolean |
repeating
|
Fields inherited from class org.webmacro.directive.Directive.ArgDescriptor |
children, id, keyword, nextArg, optional, subordinateArgs, type |
Constructor Summary | |
Directive.OptionChoice(int groupCount)
|
Methods inherited from class org.webmacro.directive.Directive.ArgDescriptor |
setOptional, setOptional |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean repeating
Constructor Detail |
public Directive.OptionChoice(int groupCount)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |