|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.request.velocity.extractor.VelocityScopeExtractor
public class VelocityScopeExtractor
Extracts attributes from Velocity context..
Constructor Summary | |
---|---|
VelocityScopeExtractor(Context context)
Constructor. |
Method Summary | |
---|---|
Enumeration<String> |
getKeys()
The enumeration of the keys of the stored attributes. |
Object |
getValue(String key)
Returns the value of the attribute with the given key. |
void |
removeValue(String name)
Removes an attribute. |
void |
setValue(String key,
Object value)
Sets a value for the given key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VelocityScopeExtractor(Context context)
context
- The Velocity context.Method Detail |
---|
public void removeValue(String name)
HasRemovableKeys
removeValue
in interface HasRemovableKeys<Object>
name
- The key of the attribute to remove.public Enumeration<String> getKeys()
HasKeys
getKeys
in interface HasKeys<Object>
public Object getValue(String key)
HasKeys
getValue
in interface HasKeys<Object>
key
- The key of the attribute.
public void setValue(String key, Object value)
Addable
setValue
in interface Addable<Object>
key
- The key of the attribute.value
- The value of the attribute.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |