org.apache.catalina.startup
Class TldConfig
java.lang.Object
org.apache.catalina.startup.TldConfig
public final class TldConfig
extends java.lang.Object
Startup event listener for a Context that configures the properties
of that Context, and the associated defined servlets.
- Craig R. McClanahan
- Jean-Francois Arcand
- Costin Manolache
addApplicationListener
public void addApplicationListener(String s)
execute
public void execute()
throws Exception
Scan for and configure all tag library descriptors found in this
web application.
getContext
public Context getContext()
getTldListeners
public String[] getTldListeners()
getTldNamespaceAware
public boolean getTldNamespaceAware()
Get the server.xml attribute's xmlNamespaceAware.
- true if namespace awarenes is enabled.
getTldValidation
public boolean getTldValidation()
Get the server.xml attribute's xmlValidation.
- true if validation is enabled.
isRescan
public boolean isRescan()
setContext
public void setContext(Context context)
setNoTldJars
public static void setNoTldJars(String jarNames)
Sets the list of JARs that are known not to contain any TLDs.
jarNames
- List of comma-separated names of JAR files that are
known not to contain any TLDs
setRescan
public void setRescan(boolean rescan)
setTldNamespaceAware
public void setTldNamespaceAware(boolean tldNamespaceAware)
Set the namespace aware feature of the XML parser used when
parsing xml instances.
tldNamespaceAware
- true to enable namespace awareness
setTldValidation
public void setTldValidation(boolean tldValidation)
Set the validation feature of the XML parser used when
parsing xml instances.
tldValidation
- true to enable xml instance validation
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.