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
TemplateTypeParser
Parses the template type.
parseTemplateType
in interface TemplateTypeParser
value
- The value.context
- The context.ParseException
- If an error occurs during the parsing.public TemplateType getTypeSelect()
TemplateTypeParser
Returns the template type for the select.
The select type: A finite number of possible values.
getTypeSelect
in interface TemplateTypeParser
public TemplateType getTypeMultiselect()
TemplateTypeParser
Returns 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 TemplateTypeParser
Copyright © 2015–2019. All rights reserved.