org.apache.cxf.tools.common.toolspec.parser
Class Form
java.lang.Object
org.apache.cxf.tools.common.toolspec.parser.Form
- All Implemented Interfaces:
- TokenConsumer
public class Form
- extends Object
- implements TokenConsumer
Form
public Form(Element el)
accept
public boolean accept(TokenInputStream args,
Element result,
ErrorVisitor errors)
- Attempt to consume all the args in the input stream by matching them to
options, optionGroups and argument specified in the usage definition.
- Specified by:
accept
in interface TokenConsumer
hasInfoOption
public boolean hasInfoOption(TokenInputStream args)
isSatisfied
public boolean isSatisfied(ErrorVisitor errors)
- Specified by:
isSatisfied
in interface TokenConsumer
getName
public String getName()
toString
public String toString()
- Overrides:
toString
in class Object
Apache CXF