public class FunctionMapResolver extends MapResolver
Modifier and Type | Class and Description |
---|---|
static interface |
FunctionMapResolver.FunctionResolver |
Constructor and Description |
---|
FunctionMapResolver() |
FunctionMapResolver(java.util.Map<java.lang.String,java.lang.Object> data) |
Modifier and Type | Method and Description |
---|---|
void |
addFunction(java.lang.String name,
FunctionMapResolver.FunctionResolver resolver) |
java.lang.String |
resolve(java.lang.String in)
Resolve the "in" key against the data.
|
put, putAll
public FunctionMapResolver()
public FunctionMapResolver(java.util.Map<java.lang.String,java.lang.Object> data)
public void addFunction(java.lang.String name, FunctionMapResolver.FunctionResolver resolver)
public java.lang.String resolve(java.lang.String in)
resolve
in interface TextReplacement.TextResolver
resolve
in class MapResolver