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

📄 xelelmapper.java

📁 ZK 基础介绍 功能操作 模块 结合数据库操作
💻 JAVA
字号:
/* XelELMapper.java{{IS_NOTE	Purpose:			Description:			History:		Fri Aug 31 16:01:10     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.zkmax.xel.el;import java.lang.reflect.Method;import org.zkoss.xel.Function;import org.zkoss.xel.FunctionMapper;/** * An EL function mapper that is based on a XEL function mapper. * * @author tomyeh * @since 3.0.0 */public class XelELMapper implements javax.servlet.jsp.el.FunctionMapper {	private FunctionMapper _mapper;	public XelELMapper(FunctionMapper mapper) {		_mapper = mapper;	}	public Method resolveFunction(String prefix, String name) {		if (_mapper != null) {			final Function f = _mapper.resolveFunction(prefix, name);			if (f != null)				return f.toMethod();		}		return null;	}}

⌨️ 快捷键说明

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