public class JspCTldLocationsCache
extends org.apache.sling.scripting.jsp.jasper.compiler.TldLocationsCache
Modifier and Type | Field and Description |
---|---|
static int |
ABS_URI
The types of URI one may specify for a tag library
|
static int |
NOROOT_REL_URI |
static int |
ROOT_REL_URI |
Constructor and Description |
---|
JspCTldLocationsCache(javax.servlet.ServletContext ctxt,
boolean redeployMode,
ClassLoader loader)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getLocation(String uri)
Gets the 'location' of the TLD associated with the given taglib 'uri'.
|
static void |
setNoTldJars(String jarNames)
Sets the list of JARs that are known not to contain any TLDs.
|
static int |
uriType(String uri)
Returns the type of a URI:
ABS_URI
ROOT_REL_URI
NOROOT_REL_URI
|
public static final int ABS_URI
public static final int ROOT_REL_URI
public static final int NOROOT_REL_URI
public JspCTldLocationsCache(javax.servlet.ServletContext ctxt, boolean redeployMode, ClassLoader loader)
ctxt
- the servlet context of the web application in which Jasper
is runningredeployMode
- if true, then the compiler will allow redeploying
a tag library from the same jar, at the expense of slowing down the
server a bit. Note that this may only work on JDK 1.3.1_01a and later,
because of JDK bug 4211817 fixed in this release.
If redeployMode is false, a faster but less capable mode will be used.public static void setNoTldJars(String jarNames)
jarNames
- List of comma-separated names of JAR files that are
known not to contain any TLDspublic String[] getLocation(String uri) throws org.apache.sling.scripting.jsp.jasper.JasperException
getLocation
in class org.apache.sling.scripting.jsp.jasper.compiler.TldLocationsCache
uri
- The taglib uriorg.apache.sling.scripting.jsp.jasper.JasperException
public static int uriType(String uri)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.