public class TldScanner extends Object implements javax.servlet.ServletContainerInitializer
| 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 |
|---|
TldScanner()
Default Constructor.
|
TldScanner(javax.servlet.ServletContext ctxt,
boolean isValidationEnabled)
Constructor used in Jasper
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLocation(String uri)
Gets the 'location' of the TLD associated with the given taglib 'uri'.
|
void |
onStartup(Set<Class<?>> c,
javax.servlet.ServletContext ctxt) |
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 TldScanner()
public TldScanner(javax.servlet.ServletContext ctxt,
boolean isValidationEnabled)
public void onStartup(Set<Class<?>> c, javax.servlet.ServletContext ctxt) throws javax.servlet.ServletException
onStartup in interface javax.servlet.ServletContainerInitializerjavax.servlet.ServletExceptionpublic String[] getLocation(String uri) throws JasperException
uri - The taglib uriJasperExceptionpublic static int uriType(String uri)
Copyright © 2017 GlassFish Community. All rights reserved.