public class TemplatesParserImpl extends Object implements TemplatesParser, TemplatesConstants
A TemplatesParser implementation.
FIELD_CHOICES, FIELD_CHOICES_PREFIX, FIELD_DEFAULT, FIELD_DEFAULT_PREFIX, FIELD_DESCRIPTION, FIELD_DESCRIPTION_PREFIX, FIELD_TEMPLATE, FIELD_TYPE, UTF_8_SUFFIXUTF_8, UTF_8_CHARSET| Constructor and Description |
|---|
TemplatesParserImpl()
Creates a parser.
|
| Modifier and Type | Method and Description |
|---|---|
Templates |
parseTemplates(DataSource source,
Context context)
Parses the templates.
|
Templates |
parseTemplates(String value,
Context context)
Parses the templates.
|
public Templates parseTemplates(String value, Context context) throws ParseException
TemplatesParserParses the templates.
parseTemplates in interface TemplatesParservalue - The value.context - The context.ParseException - If an error occurs during the parsing.public Templates parseTemplates(DataSource source, Context context) throws IOException, ParseException
TemplatesParserParses the templates.
parseTemplates in interface TemplatesParsersource - The source.context - The context.IOException - If an I/O error occurs.ParseException - If an error occurs during the parsing.Copyright © 2015–2019. All rights reserved.