org.apache.tiles.request.velocity.extractor
Class VelocityScopeExtractor

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

public class VelocityScopeExtractor
extends Object
implements org.apache.tiles.request.attribute.AttributeExtractor

Extracts attributes from Velocity context..

Version:
$Rev: 1066512 $ $Date: 2011-02-02 11:13:31 -0500 (Wed, 02 Feb 2011) $

Constructor Summary
VelocityScopeExtractor(org.apache.velocity.context.Context context)
          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

VelocityScopeExtractor

public VelocityScopeExtractor(org.apache.velocity.context.Context context)
Constructor.

Parameters:
context - The Velocity context.
Method Detail

removeValue

public void removeValue(String name)
Specified by:
removeValue in interface org.apache.tiles.request.attribute.HasRemovableKeys<Object>

getKeys

public Enumeration<String> getKeys()
Specified by:
getKeys in interface org.apache.tiles.request.attribute.HasKeys<Object>

getValue

public Object getValue(String key)
Specified by:
getValue in interface org.apache.tiles.request.attribute.HasKeys<Object>

setValue

public void setValue(String key,
                     Object value)
Specified by:
setValue in interface org.apache.tiles.request.attribute.Addable<Object>


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