org.apache.tiles.request.jsp.extractor
Class ScopeExtractor

java.lang.Object
  extended by org.apache.tiles.request.jsp.extractor.ScopeExtractor
All Implemented Interfaces:
Addable<Object>, AttributeExtractor, HasAddableKeys<Object>, HasKeys<Object>, HasRemovableKeys<Object>

public class ScopeExtractor
extends Object
implements AttributeExtractor

Extracts attributes from a numbered scope from JspContext.

Version:
$Rev: 1066790 $ $Date: 2011-02-03 07:06:20 -0500 (Thu, 03 Feb 2011) $

Constructor Summary
ScopeExtractor(javax.servlet.jsp.JspContext context, int scope)
          Constructor.
 
Method Summary
 Enumeration<String> getKeys()
           
 Object getValue(String key)
           
 void removeValue(String name)
           
 void setValue(String key, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopeExtractor

public ScopeExtractor(javax.servlet.jsp.JspContext context,
                      int scope)
Constructor.

Parameters:
context - The JSP context.
scope - The scope number.
Method Detail

removeValue

public void removeValue(String name)
Specified by:
removeValue in interface HasRemovableKeys<Object>

getKeys

public Enumeration<String> getKeys()
Specified by:
getKeys in interface HasKeys<Object>

getValue

public Object getValue(String key)
Specified by:
getValue in interface HasKeys<Object>

setValue

public void setValue(String key,
                     Object value)
Specified by:
setValue in interface Addable<Object>


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