org.apache.catalina.startup
public final class TldConfig extends java.lang.Object implements LifecycleListener
Constructor and Description |
---|
TldConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addApplicationListener(java.lang.String s) |
void |
execute()
Scan for and configure all tag library descriptors found in this
web application.
|
Context |
getContext() |
java.lang.String[] |
getTldListeners() |
boolean |
getTldNamespaceAware()
Get the server.xml <host> attribute's xmlNamespaceAware.
|
boolean |
getTldValidation()
Get the server.xml <host> attribute's xmlValidation.
|
boolean |
isRescan() |
void |
lifecycleEvent(LifecycleEvent event)
Acknowledge the occurrence of the specified event.
|
void |
setContext(Context context) |
static void |
setNoTldJars(java.lang.String jarNames)
Sets the list of JARs that are known not to contain any TLDs.
|
void |
setRescan(boolean rescan) |
void |
setTldNamespaceAware(boolean tldNamespaceAware)
Set the namespace aware feature of the XML parser used when
parsing xml instances.
|
void |
setTldValidation(boolean tldValidation)
Set the validation feature of the XML parser used when
parsing xml instances.
|
public static void setNoTldJars(java.lang.String jarNames)
jarNames
- List of comma-separated names of JAR files that are
known not to contain any TLDspublic void setTldValidation(boolean tldValidation)
tldValidation
- true to enable xml instance validationpublic boolean getTldValidation()
public boolean getTldNamespaceAware()
public void setTldNamespaceAware(boolean tldNamespaceAware)
tldNamespaceAware
- true to enable namespace awarenesspublic boolean isRescan()
public void setRescan(boolean rescan)
public Context getContext()
public void setContext(Context context)
public void addApplicationListener(java.lang.String s)
public java.lang.String[] getTldListeners()
public void execute() throws java.lang.Exception
java.lang.Exception
- if a fatal input/output or parsing error occurspublic void lifecycleEvent(LifecycleEvent event)
LifecycleListener
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurredCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.