org.tinygroup.jspengine.compiler
类 JspConfig

java.lang.Object
  继承者 org.tinygroup.jspengine.compiler.JspConfig

public class JspConfig
extends Object

Handles the jsp-config element in WEB_INF/web.xml. This is used for specifying the JSP configuration information on a JSP page

作者:
Kin-man Chung

构造方法摘要
JspConfig(javax.servlet.ServletContext ctxt, Options options)
           
 
方法摘要
 JspProperty findJspProperty(String uri)
          Find a property that best matches the supplied resource.
 boolean isJspPage(String uri)
          To find out if an uri matches an url pattern in jsp config.
static void makeJspPropertyGroups(Vector jspProperties, Vector urlPatterns, String isXml, String elIgnored, String scriptingInvalid, String trimSpaces, String poundAllowed, String pageEncoding, Vector includePrelude, Vector includeCoda)
          Creates a JspPropertyGroup for each url pattern in the given urlPatterns, and adds it to the given jspProperties.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

JspConfig

public JspConfig(javax.servlet.ServletContext ctxt,
                 Options options)
          throws JasperException
抛出:
JasperException
方法详细信息

makeJspPropertyGroups

public static void makeJspPropertyGroups(Vector jspProperties,
                                         Vector urlPatterns,
                                         String isXml,
                                         String elIgnored,
                                         String scriptingInvalid,
                                         String trimSpaces,
                                         String poundAllowed,
                                         String pageEncoding,
                                         Vector includePrelude,
                                         Vector includeCoda)
Creates a JspPropertyGroup for each url pattern in the given urlPatterns, and adds it to the given jspProperties. This simplifies the matching logic.


findJspProperty

public JspProperty findJspProperty(String uri)
                            throws JasperException
Find a property that best matches the supplied resource.

参数:
uri - the resource supplied.
返回:
a JspProperty indicating the best match, or some default.
抛出:
JasperException

isJspPage

public boolean isJspPage(String uri)
                  throws JasperException
To find out if an uri matches an url pattern in jsp config. If so, then the uri is a JSP page. This is used primarily for jspc.

抛出:
JasperException


Copyright © 2006–2014 开源组织. All rights reserved.