⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 functionmapper.java

📁 ZK 基础介绍 功能操作 模块 结合数据库操作
💻 JAVA
字号:
/* FunctionMapper.java{{IS_NOTE	Purpose:			Description:			History:		Thu Aug 30 10:17:55     2007, Created by tomyeh}}IS_NOTECopyright (C) 2007 Potix Corporation. All Rights Reserved.{{IS_RIGHT	This program is distributed under GPL Version 2.0 in the hope that	it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.xel;import java.util.Collection;/** * Used to customize the way to map between the XEL function names * and the {@link Function} methods. * * @author tomyeh * @since 3.0.0 */public interface FunctionMapper {	/** Resolves a function {@link Function} with the specified name and	 * prefix.	 *	 * <p>Note: not all EL evaluator support {@link #resolveFunction}.	 * Currently only JSP 2.0/2.1 EL-based expression factories	 * support this method.	 * You can check {@link ExpressionFactory#isSupported} for this	 * support.	 *	 * @param prefix the prefix of the function, or "" if no prefix	 * @param name the name of the function to resolve	 */	public Function resolveFunction(String prefix, String name)	throws XelException;	/** Returns a readonly collection of the logic names of the class	 * (never null).	 * Note: it is the name to resolve class, not the real class name.	 * In other words, it is the logical name maintained by this	 * function mapper.	 */	public Collection getClassNames();	/** Resolves a class with the specified logic name, or null	 * or null if not found.	 *	 * <p>Note: not all EL evaluator support {@link #resolveClass}.	 * JSP 2.0/2.1 EL-based expression factories don't support	 * this method.	 * You can check {@link ExpressionFactory#isSupported} for this	 * support.	 *	 * @return the class of the specified logic name.	 */	public Class resolveClass(String name) throws XelException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -