public final class TldConfig extends Object implements org.apache.catalina.LifecycleListener
Constructor and Description |
---|
TldConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addApplicationListener(String s) |
void |
execute()
Scan for and configure all tag library descriptors found in this
web application.
|
org.apache.catalina.Context |
getContext() |
String[] |
getTldListeners() |
boolean |
getTldNamespaceAware()
Get the server.xml
|
boolean |
getTldValidation()
Get the server.xml
|
boolean |
isRescan() |
void |
lifecycleEvent(org.apache.catalina.LifecycleEvent event) |
void |
setContext(org.apache.catalina.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.
|
public static void setNoTldJars(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 org.apache.catalina.Context getContext()
public void setContext(org.apache.catalina.Context context)
public void addApplicationListener(String s)
public String[] getTldListeners()
public void execute() throws Exception
Exception
- if a fatal input/output or parsing error occurspublic void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
lifecycleEvent
in interface org.apache.catalina.LifecycleListener
Copyright © 2011 Nuxeo SA. All Rights Reserved.