public class DefaultLiteralSupport extends AbstractConfigurationAware implements LiteralSupport
LiteralSupport
implementation. The supported literals are
String ("foo"
or 'foo'
), Integer, Long (
10L
or 10l
) and Boolean (true
or
false
).Strings.isStringLiteralSeparator(char)
configuration
Constructor and Description |
---|
DefaultLiteralSupport() |
Modifier and Type | Method and Description |
---|---|
Object |
getLiteral(String value,
MustacheTagInfo tagInfo) |
checkNotInitialized, init, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigurationKeys, init
public Object getLiteral(String value, MustacheTagInfo tagInfo)
getLiteral
in interface LiteralSupport
null
if
the value does not represent any supported literal typeCopyright © 2017. All rights reserved.