org.apache.tiles.request.servlet.extractor
Class ParameterExtractor

Package class diagram package ParameterExtractor
java.lang.Object
  extended by org.apache.tiles.request.servlet.extractor.ParameterExtractor
All Implemented Interfaces:
HasKeys<String>

public class ParameterExtractor
extends Object
implements HasKeys<String>

Extract parameters from the request.

Version:
$Rev: 1066499 $ $Date: 2011-02-02 10:33:34 -0500 (Wed, 02 Feb 2011) $

Constructor Summary
ParameterExtractor(HttpServletRequest request)
          Constructor.
 
Method Summary
 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

ParameterExtractor

public ParameterExtractor(HttpServletRequest request)
Constructor.

Parameters:
request - The servlet request.
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 © 2001-2012 Apache Software Foundation. All Rights Reserved.