org.apache.tiles.request.freemarker.extractor
Class EnvironmentScopeExtractor

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

public class EnvironmentScopeExtractor
extends Object
implements AttributeExtractor

Extract attributes from Environment objects as a scope.

Version:
$Rev: 1294456 $ $Date: 2012-02-27 23:44:55 -0500 (Mon, 27 Feb 2012) $

Constructor Summary
EnvironmentScopeExtractor(freemarker.core.Environment request)
          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

EnvironmentScopeExtractor

public EnvironmentScopeExtractor(freemarker.core.Environment request)
Constructor.

Parameters:
request - The environment.
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.