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

## org.apache.tiles.impl
Class KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor

    java.lang.Object
      org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor

All Implemented Interfaces:
  KeyedDefinitionsFactoryTilesContainer.KeyExtractor

Enclosing class:
  KeyedDefinitionsFactoryTilesContainer

    public static class KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor

extends java.lang.Object
implements KeyedDefinitionsFactoryTilesContainer.KeyExtractor

This is the default factory key. Takes the key from the request-scoped attribute `DEFINITIONS_FACTORY_KEY_ATTRIBUTE_NAME`.

Field Summary
`static java.lang.String` | `DEFINITIONS_FACTORY_KEY_ATTRIBUTE_NAME` Name of the attribute inside the request that will be used to get the key of the definitions factory to be used.

Constructor Summary
`KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor()`

Method Summary
`java.lang.String` | `getDefinitionsFactoryKey(TilesRequestContext request)` Returns the definitions factory key.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### DEFINITIONS_FACTORY_KEY_ATTRIBUTE_NAME

    public static final java.lang.String DEFINITIONS_FACTORY_KEY_ATTRIBUTE_NAME

  Name of the attribute inside the request that will be used to get the key of the definitions factory to be used.

  See Also:
    Constant Field Values

Constructor Detail

### KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor

    public KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor()

Method Detail

### getDefinitionsFactoryKey

    public java.lang.String getDefinitionsFactoryKey(TilesRequestContext request)

  Returns the definitions factory key.

  Specified by:
    `getDefinitionsFactoryKey` in interface `KeyedDefinitionsFactoryTilesContainer.KeyExtractor`
  Parameters:
    `request` - The request object.
  Returns:
    The needed factory key.

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

Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.