org.apache.struts2.impl
Class ValueStackAdapter

java.lang.Object
  extended by org.apache.struts2.impl.ValueStackAdapter
All Implemented Interfaces:
Iterable<Object>, org.apache.struts2.spi.ValueStack

public class ValueStackAdapter
extends Object
implements org.apache.struts2.spi.ValueStack


Field Summary
(package private)  ValueStack delegate
           
 
Constructor Summary
ValueStackAdapter(ValueStack delegate)
           
 
Method Summary
 org.apache.struts2.spi.ValueStack clone()
           
 Object get(String expr)
           
<T> T
get(String expr, Class<T> requiredType)
           
 String getString(String expr)
           
 Iterator<Object> iterator()
           
 Object peek()
           
 Object pop()
           
 void push(Object o)
           
 void set(String expr, Object o)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

final ValueStack delegate
Constructor Detail

ValueStackAdapter

public ValueStackAdapter(ValueStack delegate)
Method Detail

peek

public Object peek()
Specified by:
peek in interface org.apache.struts2.spi.ValueStack

pop

public Object pop()
Specified by:
pop in interface org.apache.struts2.spi.ValueStack

push

public void push(Object o)
Specified by:
push in interface org.apache.struts2.spi.ValueStack

clone

public org.apache.struts2.spi.ValueStack clone()
Specified by:
clone in interface org.apache.struts2.spi.ValueStack
Overrides:
clone in class Object

get

public Object get(String expr)
Specified by:
get in interface org.apache.struts2.spi.ValueStack

get

public <T> T get(String expr,
                 Class<T> requiredType)
Specified by:
get in interface org.apache.struts2.spi.ValueStack

getString

public String getString(String expr)
Specified by:
getString in interface org.apache.struts2.spi.ValueStack

set

public void set(String expr,
                Object o)
Specified by:
set in interface org.apache.struts2.spi.ValueStack

size

public int size()
Specified by:
size in interface org.apache.struts2.spi.ValueStack

iterator

public Iterator<Object> iterator()
Specified by:
iterator in interface Iterable<Object>


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.