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 java.lang.Object
- implements TokenConsumer
Constructor Summary |
Form(org.w3c.dom.Element el)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Form
public Form(org.w3c.dom.Element el)
accept
public boolean accept(TokenInputStream args,
org.w3c.dom.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 java.lang.String getName()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Apache CXF