com.sun.el.lang
类 FunctionMapperImpl

java.lang.Object
  继承者 javax.el.FunctionMapper
      继承者 com.sun.el.lang.FunctionMapperImpl
所有已实现的接口:
Externalizable, Serializable

public class FunctionMapperImpl
extends FunctionMapper
implements Externalizable

版本:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: hmalphett $
作者:
Jacob Hookom [jacob@hookom.net]
另请参见:
序列化表格

嵌套类摘要
static class FunctionMapperImpl.Function
           
 
字段摘要
protected  Map functions
           
 
构造方法摘要
FunctionMapperImpl()
           
 
方法摘要
 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)
           
 
从类 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)
从类 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.

指定者:
FunctionMapper 中的 resolveFunction
参数:
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()}.
返回:
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
指定者:
接口 Externalizable 中的 writeExternal
抛出:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
指定者:
接口 Externalizable 中的 readExternal
抛出:
IOException
ClassNotFoundException


Copyright © 2013. All Rights Reserved.