org.apache.tiles.request.attribute

## Interface HasKeys<V>

- Type Parameters:
    `V` - The type of the value of the attribute.
  All Known Subinterfaces:
    AttributeExtractor, EnumeratedValuesExtractor, HasAddableKeys<V>, HasRemovableKeys<V>
  All Known Implementing Classes:
    ApplicationScopeExtractor, EnvironmentScopeExtractor, HeaderExtractor, InitParameterExtractor, ParameterExtractor, RequestScopeExtractor, ScopeExtractor, SessionScopeExtractor, SessionScopeExtractor, VelocityScopeExtractor

      public interface HasKeys<V>

  Allows to get attributes.

- - ### Method Summary

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

- - ### Method Detail

    - #### getKeys

          Enumeration<String> getKeys()

      The enumeration of the keys of the stored attributes.
      Returns:
        The keys.

    - #### getValue

          V getValue(String key)

      Returns the value of the attribute with the given key.
      Parameters:
        `key` - The key of the attribute.
      Returns:
        The value.

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