public class TemplateTypeParserImpl extends Object implements TemplateTypeParser
A TemplateTypeParser implementation.
| Constructor and Description |
|---|
TemplateTypeParserImpl()
Creates a parser.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateType |
getTypeMultiselect()
Returns the template type for the multiple select.
|
TemplateType |
getTypeSelect()
Returns the template type for the select.
|
TemplateType |
parseTemplateType(String value,
Context context)
Parses the template type.
|
public TemplateType parseTemplateType(String value, Context context) throws ParseException
TemplateTypeParserParses the template type.
parseTemplateType in interface TemplateTypeParservalue - The value.context - The context.ParseException - If an error occurs during the parsing.public TemplateType getTypeSelect()
TemplateTypeParserReturns the template type for the select.
The select type: A finite number of possible values.
getTypeSelect in interface TemplateTypeParserpublic TemplateType getTypeMultiselect()
TemplateTypeParserReturns the template type for the multiple select.
The multiple select type: A finite number of possible values from which the user can select any number of items.
getTypeMultiselect in interface TemplateTypeParserCopyright © 2015–2019. All rights reserved.