public class DateTimeFunctionMapper extends FunctionMapper
| Modifier and Type | Field and Description |
|---|---|
static Map<String,Method> |
DATE_TIME_FUNCTION_MAP |
| Constructor and Description |
|---|
DateTimeFunctionMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createMethodBindings() |
static org.joda.time.DateTime |
dateTime() |
protected void |
ensureContextFunctionMapInitialized() |
static Date |
now() |
Method |
resolveFunction(String prefix,
String localName)
Resolves the specified prefix and local name into a java.lang.Method.
|
public Method resolveFunction(String prefix, String localName)
FunctionMapperresolveFunction in class FunctionMapperprefix - the prefix of the function, or "" if no prefix. For example, "fn" in
${fn:method()}, or "" in ${method()}.localName - the short name of the function. For example, "method" in ${fn:method()}.protected void ensureContextFunctionMapInitialized()
protected void createMethodBindings()
public static Date now()
public static org.joda.time.DateTime dateTime()
Copyright © 2021. All rights reserved.