📄 dspcontext.java
字号:
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -