Apache CXF API

org.apache.cxf.tools.common.toolspec.parser
Class Form

java.lang.Object
  extended by org.apache.cxf.tools.common.toolspec.parser.Form
All Implemented Interfaces:
TokenConsumer

public class Form
extends Object
implements TokenConsumer


Constructor Summary
Form(Element el)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 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 API

Apache CXF