com.sun.el.lang
Class FunctionMapperImpl
java.lang.Object
javax.el.FunctionMapper
com.sun.el.lang.FunctionMapperImpl
- All Implemented Interfaces:
- Externalizable, Serializable
public class FunctionMapperImpl
- extends FunctionMapper
- implements Externalizable
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
- Author:
- Jacob Hookom [jacob@hookom.net]
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
functions
protected Map functions
FunctionMapperImpl
public FunctionMapperImpl()
resolveFunction
public Method resolveFunction(String prefix,
String localName)
- Description copied from class:
FunctionMapper
- Resolves the specified prefix and local name into a
java.lang.Method
.
Returns null
if no function could be found that matches
the given prefix and local name.
- Specified by:
resolveFunction
in class FunctionMapper
- Parameters:
prefix
- 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()}
.
- Returns:
- the static method to invoke, or
null
if no
match was found.
addFunction
public void addFunction(String prefix,
String localName,
Method m)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2011. All Rights Reserved.