Class Option
java.lang.Object
org.apache.cxf.tools.common.toolspec.parser.Option
- All Implemented Interfaces:
TokenConsumer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(TokenInputStream args, Element result, ErrorVisitor errors) getName()
boolean
boolean
boolean
isSatisfied
(ErrorVisitor errors) toString()
-
Field Details
-
argument
-
annotation
-
-
Constructor Details
-
Option
-
-
Method Details
-
hasArgument
public boolean hasArgument() -
hasImmediateArgument
public boolean hasImmediateArgument() -
accept
- Specified by:
accept
in interfaceTokenConsumer
- Returns:
- whether the first token was accepted
-
isSatisfied
- Specified by:
isSatisfied
in interfaceTokenConsumer
-
getName
-
getAnnotation
-
getPrimarySwitch
-
toString
-