FunctionMapper (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.el Class FunctionMapper

java.lang.Object
  extended by javax.el.FunctionMapper

public abstract class FunctionMapper
extends Object

The interface to a map between EL function names and methods.

A FunctionMapper maps ${prefix:name()} style functions to a static method that can execute that function.

从以下版本开始:
JSP 2.1

构造器摘要
FunctionMapper()
           
 
方法摘要
abstract  Method resolveFunction(String prefix, String localName)
          Resolves the specified prefix and local name into a java.lang.Method.
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造器详细信息

FunctionMapper

public FunctionMapper()
方法详细信息

resolveFunction

public abstract Method resolveFunction(String prefix,
                                       String localName)
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.

参数:
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.

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.