public class FunctionMapperImpl extends FunctionMapper implements Externalizable
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionMapperImpl.Function |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,FunctionMapperImpl.Function> |
functions |
| Constructor and Description |
|---|
FunctionMapperImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFunction(String prefix,
String localName,
Method m) |
void |
readExternal(ObjectInput in) |
Method |
resolveFunction(String prefix,
String localName)
Resolves the specified prefix and local name into a
java.lang.Method. |
void |
writeExternal(ObjectOutput out) |
mapFunctionprotected Map<String,FunctionMapperImpl.Function> functions
public Method resolveFunction(String prefix, String localName)
FunctionMapperjava.lang.Method.
Returns null if no function could be found that matches the given prefix and local name.
resolveFunction 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()}.null if no match was found.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.