interpretcontext.java

来自「ZK 基础介绍 功能操作 模块 结合数据库操作」· Java 代码 · 共 49 行

JAVA
49
字号
/* InterpretContext.java{{IS_NOTE	Purpose:			Description:			History:		Sat Sep 17 16:59:44     2005, Created by tomyeh}}IS_NOTECopyright (C) 2004 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.web.servlet.dsp.impl;import java.io.Writer;import org.zkoss.xel.XelContext;import org.zkoss.xel.util.SimpleXelContext;import org.zkoss.web.servlet.dsp.*;import org.zkoss.web.servlet.dsp.action.Action;/** * Holds the context for interpreting an {@link Interpretation}. * * @author tomyeh */class InterpretContext {	final DspContext dc;	final InterpretResolver resolver;	final XelContext xelc;	/** The action being processing, or null if no such action. */	Action action;	/** Constructs an interpret context.	 */	InterpretContext(DspContext dc) {		this.dc = dc;		this.resolver = new InterpretResolver(dc.getVariableResolver());		this.xelc = new SimpleXelContext(this.resolver, null);	}}

⌨️ 快捷键说明

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