@AptParameterTransformation(value=Word.class) public class WordParameterTransformation extends java.lang.Object implements DescribedParameterTransformation<Word>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SIGN_FOR_SINGLE_CHARACTERS |
| Constructor and Description |
|---|
WordParameterTransformation() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormatDescription()
Returns a description of the string format that the parameter is
expected to follow.
|
Word |
transform(java.lang.String arg)
Transforms the given string-typed parameter into some target type T.
|
public static final java.lang.String SIGN_FOR_SINGLE_CHARACTERS
public Word transform(java.lang.String arg) throws ModuleException
ParameterTransformationtransform in interface ParameterTransformation<Word>arg - parameterModuleException - thrown when the transformation failspublic java.lang.String getFormatDescription()
DescribedParameterTransformationgetFormatDescription in interface DescribedParameterTransformation<Word>