public final class PrimitiveBindings extends BindingHelper
| Constructor and Description |
|---|
PrimitiveBindings() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getBoolean(ArgumentStack context)
Gets a type from a
ArgumentStack. |
Double |
getDouble(ArgumentStack context,
Annotation[] modifiers)
Gets a type from a
ArgumentStack. |
Float |
getFloat(ArgumentStack context,
Annotation[] modifiers)
Gets a type from a
ArgumentStack. |
Integer |
getInteger(ArgumentStack context,
Annotation[] modifiers)
Gets a type from a
ArgumentStack. |
Short |
getShort(ArgumentStack context,
Annotation[] modifiers)
Gets a type from a
ArgumentStack. |
String |
getString(ArgumentStack context,
Annotation[] modifiers)
Gets a type from a
ArgumentStack. |
String |
getText(ArgumentStack context,
Text text,
Annotation[] modifiers)
Gets a type from a
ArgumentStack. |
bind, getBehavior, getConsumedCount, getSuggestions, getTypespublic String getText(ArgumentStack context, Text text, Annotation[] modifiers) throws ParameterException
ArgumentStack.context - the contexttext - the text annotationmodifiers - a list of modifiersParameterException - on errorpublic String getString(ArgumentStack context, Annotation[] modifiers) throws ParameterException
ArgumentStack.context - the contextmodifiers - a list of modifiersParameterException - on errorpublic Boolean getBoolean(ArgumentStack context) throws ParameterException
ArgumentStack.context - the contextParameterException - on errorpublic Integer getInteger(ArgumentStack context, Annotation[] modifiers) throws ParameterException
ArgumentStack.context - the contextmodifiers - a list of modifiersParameterException - on errorpublic Short getShort(ArgumentStack context, Annotation[] modifiers) throws ParameterException
ArgumentStack.context - the contextmodifiers - a list of modifiersParameterException - on errorpublic Double getDouble(ArgumentStack context, Annotation[] modifiers) throws ParameterException
ArgumentStack.context - the contextmodifiers - a list of modifiersParameterException - on errorpublic Float getFloat(ArgumentStack context, Annotation[] modifiers) throws ParameterException
ArgumentStack.context - the contextmodifiers - a list of modifiersParameterException - on errorCopyright © 2010-2014. All Rights Reserved.