|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.startup.TldConfig
public final class TldConfig
Startup event listener for a Context that configures application listeners configured in any TLD files.
Constructor Summary | |
---|---|
TldConfig()
|
Method Summary | |
---|---|
void |
addApplicationListener(String s)
|
void |
addTaglibUri(String uri)
Adds a taglib URI to the list of known URIs. |
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 |
isKnownTaglibUri(String uri)
Determines if the provided URI is a known taglib URI. |
boolean |
isKnownWebxmlTaglibUri(String uri)
Determines if the provided URI is a known taglib URI. |
boolean |
isRescan()
|
void |
lifecycleEvent(LifecycleEvent event)
Acknowledge the occurrence of the specified 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TldConfig()
Method Detail |
---|
public void addTaglibUri(String uri)
public boolean isKnownTaglibUri(String uri)
public boolean isKnownWebxmlTaglibUri(String uri)
public static void setNoTldJars(String jarNames)
jarNames
- List of comma-separated names of JAR files that are
known not to contain any TLDs.public 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(String s)
public String[] getTldListeners()
public void execute()
public void lifecycleEvent(LifecycleEvent event)
LifecycleListener
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurred
|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |