public abstract class ArgumentResolver<SENDER,TYPE> extends java.lang.Object implements MultipleArgumentResolver<SENDER,TYPE>
| Constructor and Description |
|---|
ArgumentResolver() |
| Modifier and Type | Method and Description |
|---|---|
Range |
getRange(Argument<TYPE> argument) |
ParseResult<TYPE> |
parse(Invocation<SENDER> invocation,
Argument<TYPE> argument,
RawInput rawInput)
This method is used to parse the input and return the result.
|
protected abstract ParseResult<TYPE> |
parse(Invocation<SENDER> invocation,
Argument<TYPE> context,
java.lang.String argument) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsuggestcanParse, matchParsepublic final ParseResult<TYPE> parse(Invocation<SENDER> invocation, Argument<TYPE> argument, RawInput rawInput)
Parserprotected abstract ParseResult<TYPE> parse(Invocation<SENDER> invocation, Argument<TYPE> context, java.lang.String argument)