dspcontext.java

来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· Java 代码 · 共 56 行

JAVA
56
字号
/* DSPContext.java{{IS_NOTE	Purpose:			Description:			History:		Tue Sep  6 15:42:05     2005, Created by tomyeh}}IS_NOTECopyright (C) 2005 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;import java.io.Writer;import javax.servlet.jsp.el.VariableResolver;import javax.servlet.jsp.el.FunctionMapper;import org.zkoss.util.resource.Locator;import org.zkoss.web.el.ELContext;/** * The context used with {@link Interpreter#interpret}. * * @author tomyeh * @see Interpreter */public interface DSPContext extends ELContext {	/** Returns the locator for loading resources, such as taglib.	 * You might return null if the page not referencing external resources.	 *	 * <p>To load the resource from a web application, use	 * {@link org.zkoss.web.util.resource.ServletContextLocator}	 * To load the resource from class path, use	 * org.zkoss.util.resource.Resources.getDefault().	 */	public Locator getLocator();	/** Sets the content type of the output.	 */	public void setContentType(String ctype);	/** Changes the writer of this context to the specified one.	 *	 * @param out the new writer. If null, it is restored to	 * the default one.	 */	public void setOut(Writer out);}

⌨️ 快捷键说明

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