org.apache.tiles.request.servlet.extractor

## Class InitParameterExtractor

- java.lang.Object
- - org.apache.tiles.request.servlet.extractor.InitParameterExtractor

- All Implemented Interfaces:
    HasKeys<String>

      public class InitParameterExtractor
      extends Object
      implements HasKeys<String>

  Extract initialization parameters from the servlet context.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InitParameterExtractor(javax.servlet.ServletContext context)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Enumeration<String>` | `getKeys()` The enumeration of the keys of the stored attributes.
    `String` | `getValue(String key)` Returns the value of the attribute with the given key.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### InitParameterExtractor

          public InitParameterExtractor(javax.servlet.ServletContext context)

      Constructor.
      Parameters:
        `context` - The servlet context.

  - ### Method Detail

    - #### getKeys

          public Enumeration<String> getKeys()

      Description copied from interface: `HasKeys`
      The enumeration of the keys of the stored attributes.
      Specified by:
        `getKeys` in interface `HasKeys<String>`
      Returns:
        The keys.

    - #### getValue

          public String getValue(String key)

      Description copied from interface: `HasKeys`
      Returns the value of the attribute with the given key.
      Specified by:
        `getValue` in interface `HasKeys<String>`
      Parameters:
        `key` - The key of the attribute.
      Returns:
        The value.

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.