public class Form extends Object implements TokenConsumer
Modifier and Type | Method and 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() |
public Form(Element el)
public boolean accept(TokenInputStream args, Element result, ErrorVisitor errors)
accept
in interface TokenConsumer
public boolean hasInfoOption(TokenInputStream args)
public boolean isSatisfied(ErrorVisitor errors)
isSatisfied
in interface TokenConsumer
public String getName()
Apache CXF