Package org.apache.el.lang
Class FunctionMapperImpl
- java.lang.Object
-
- jakarta.el.FunctionMapper
-
- org.apache.el.lang.FunctionMapperImpl
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
public class FunctionMapperImpl extends FunctionMapper implements java.io.Externalizable
- Author:
- Jacob Hookom [jacob@hookom.net]
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionMapperImpl.Function
-
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.ConcurrentMap<java.lang.String,FunctionMapperImpl.Function>
functions
-
Constructor Summary
Constructors Constructor Description FunctionMapperImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mapFunction(java.lang.String prefix, java.lang.String localName, java.lang.reflect.Method m)
Map a method to a function name.void
readExternal(java.io.ObjectInput in)
java.lang.reflect.Method
resolveFunction(java.lang.String prefix, java.lang.String localName)
void
writeExternal(java.io.ObjectOutput out)
-
-
-
Field Detail
-
functions
protected java.util.concurrent.ConcurrentMap<java.lang.String,FunctionMapperImpl.Function> functions
-
-
Method Detail
-
resolveFunction
public java.lang.reflect.Method resolveFunction(java.lang.String prefix, java.lang.String localName)
- Specified by:
resolveFunction
in classFunctionMapper
-
mapFunction
public void mapFunction(java.lang.String prefix, java.lang.String localName, java.lang.reflect.Method m)
Description copied from class:jakarta.el.FunctionMapper
Map a method to a function name.- Overrides:
mapFunction
in classFunctionMapper
- Parameters:
prefix
- Function prefixlocalName
- Function namem
- Method
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
- Specified by:
writeExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
readExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
-