org.webmacro.directive
Class Directive.OptionalGroup

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

public static class Directive.OptionalGroup
extends Directive.ArgDescriptor

Optional group. An optional group can begin with a Keyword argument. If the keyword argument is not present in the input text, the entire group is skipped. Can contain other groups. The argCount parameter is the number of simple arguments or groups in this argument group.


Field Summary
 
Fields inherited from class org.webmacro.directive.Directive.ArgDescriptor
children, id, keyword, nextArg, optional, subordinateArgs, type
 
Constructor Summary
Directive.OptionalGroup(int argCount)
           
 
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.OptionalGroup

public Directive.OptionalGroup(int argCount)


Copyright © 1999-2006 WebMacro. All Rights Reserved.