Package org.jdesktop.el.impl.lang
Class FunctionMapperImpl
- java.lang.Object
-
- org.jdesktop.el.FunctionMapper
-
- org.jdesktop.el.impl.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: spuhl $
- Author:
- Jacob Hookom [jacob@hookom.net]
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFunctionMapperImpl.Function
-
Constructor Summary
Constructors Constructor Description FunctionMapperImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFunction(String prefix, String localName, Method m)voidreadExternal(ObjectInput in)MethodresolveFunction(String prefix, String localName)Resolves the specified prefix and local name into ajava.lang.Method.voidwriteExternal(ObjectOutput out)
-
-
-
Field Detail
-
functions
protected Map functions
-
-
Method Detail
-
resolveFunction
public Method resolveFunction(String prefix, String localName)
Description copied from class:FunctionMapperResolves the specified prefix and local name into ajava.lang.Method.Returns
nullif no function could be found that matches the given prefix and local name.- Specified by:
resolveFunctionin classFunctionMapper- 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
nullif no match was found.
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-