org.apache.catalina.startup
public final class TldConfig extends Object implements LifecycleListener
| Method Summary | |
|---|---|
| void | addApplicationListener(String s) |
| void | execute()
Scan for and configure all tag library descriptors found in this
web application.
|
| Context | getContext() |
| 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) |
| void | setContext(Context context) |
| static void | setNoTldJars(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. |
Throws: Exception if a fatal input/output or parsing error occurs
Returns: true if namespace awarenes is enabled.
Returns: true if validation is enabled.
Parameters: jarNames List of comma-separated names of JAR files that are known not to contain any TLDs
Parameters: tldNamespaceAware true to enable namespace awareness
Parameters: tldValidation true to enable xml instance validation