Class Form
- java.lang.Object
-
- org.apache.cxf.tools.common.toolspec.parser.Form
-
- All Implemented Interfaces:
TokenConsumer
public class Form extends Object implements TokenConsumer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.String
getName()
boolean
hasInfoOption(TokenInputStream args)
boolean
isSatisfied(ErrorVisitor errors)
String
toString()
-
-
-
Constructor Detail
-
Form
public Form(Element el)
-
-
Method Detail
-
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 interfaceTokenConsumer
-
hasInfoOption
public boolean hasInfoOption(TokenInputStream args)
-
isSatisfied
public boolean isSatisfied(ErrorVisitor errors)
- Specified by:
isSatisfied
in interfaceTokenConsumer
-
getName
public String getName()
-
-