public static interface TemplateParser.ITemplateHandler
TemplateParser
. The template
parser invokes an implementation of this interface to decide what is
to be done with a template.Modifier and Type | Method and Description |
---|---|
String |
handle(TemplateParser.Template template)
Invoked by the
TemplateParser for every template that occurs
in a text. |
String handle(TemplateParser.Template template)
TemplateParser
for every template that occurs
in a text. The parser replaces the template by the result of this
method. If null
is returned, no substitution is made,
but the original template string remains in the text.Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.