dspcontext.java

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

JAVA
54
字号
/* 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 org.zkoss.util.resource.Locator;import org.zkoss.web.servlet.xel.RequestContext;/** * The context used with {@link Interpreter#interpret}. * * @author tomyeh * @see Interpreter */public interface DspContext extends RequestContext {	/** 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 + -
显示快捷键?