public abstract class ParseFormatFunctionModifier extends FunctionModifier
Constructor and Description |
---|
ParseFormatFunctionModifier(String prefix) |
Modifier and Type | Method and Description |
---|---|
List<?> |
translate(Function function)
Return a List of translated parts (
LanguageObject s and Objects), or null
if this FunctionModifier wishes to rely on the default translation of the
conversion visitor. |
protected void |
translateFormat(List<Object> result,
Expression expression,
String value) |
protected abstract Object |
translateFormat(String format) |
getCode
protected String prefix
public ParseFormatFunctionModifier(String prefix)
public List<?> translate(Function function)
FunctionModifier
LanguageObject
s and Objects), or null
if this FunctionModifier wishes to rely on the default translation of the
conversion visitor.translate
in class FunctionModifier
function
- IFunction to be translatedprotected void translateFormat(List<Object> result, Expression expression, String value)
Copyright © 2016 JBoss by Red Hat. All rights reserved.