Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Author:
  Craig R. McClanahan, Jean-Francois Arcand, Costin Manolache

Constructor Summary
`TldConfig()`

Method Summary
`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` | `getXmlNamespaceAware()` Get the server.xml attribute's xmlNamespaceAware.
`boolean` | `getXmlValidation()` Get the server.xml attribute's xmlValidation.
`boolean` | `isRescan()`
`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` | `setXmlNamespaceAware(boolean xmlNamespaceAware)` Set the namespace aware feature of the XML parser used when parsing xml instances.
`void` | `setXmlValidation(boolean xmlValidation)` 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

### TldConfig

    public TldConfig()

Method Detail

### setNoTldJars

    public static void setNoTldJars(java.lang.String jarNames)

  Sets the list of JARs that are known not to contain any TLDs.

  Parameters:
    `jarNames` - List of comma-separated names of JAR files that are known not to contain any TLDs

### setXmlValidation

    public void setXmlValidation(boolean xmlValidation)

  Set the validation feature of the XML parser used when parsing xml instances.

  Parameters:
    `xmlValidation` - true to enable xml instance validation

### getXmlValidation

    public boolean getXmlValidation()

  Get the server.xml attribute's xmlValidation.

  Returns:
    true if validation is enabled.

### getXmlNamespaceAware

    public boolean getXmlNamespaceAware()

  Get the server.xml attribute's xmlNamespaceAware.

  Returns:
    true if namespace awarenes is enabled.

### setXmlNamespaceAware

    public void setXmlNamespaceAware(boolean xmlNamespaceAware)

  Set the namespace aware feature of the XML parser used when parsing xml instances.

  Parameters:
    `xmlNamespaceAware` - true to enable namespace awareness

### isRescan

    public boolean isRescan()

### setRescan

    public void setRescan(boolean rescan)

### getContext

    public Context getContext()

### setContext

    public void setContext(Context context)

### addApplicationListener

    public void addApplicationListener(java.lang.String s)

### getTldListeners

    public java.lang.String[] getTldListeners()

### execute

    public void execute()
                 throws java.lang.Exception

  Scan for and configure all tag library descriptors found in this web application.

  Throws:
    `java.lang.Exception` - if a fatal input/output or parsing error occurs

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.