Home » xwork-2.1.5 » com.opensymphony » xwork2 » ognl » [javadoc | source]
com.opensymphony.xwork2.ognl
public class: OgnlValueStack [javadoc | source]
java.lang.Object
   com.opensymphony.xwork2.ognl.OgnlValueStack

All Implemented Interfaces:
    MemberAccessValueStack, ClearableValueStack, Serializable, ValueStack

Ognl implementation of a value stack that allows for dynamic Ognl expressions to be evaluated against it. When evaluating an expression, the stack will be searched down the stack, from the latest objects pushed in to the earliest, looking for a bean with a getter or setter for the given property or a method of the given name (depending on the expression being evaluated).
Field Summary
 CompoundRoot root     
transient  Map<String, Object> context     
 Class defaultType     
 Map<Object, Object> overrides     
transient  OgnlUtil ognlUtil     
transient  SecurityMemberAccess securityMemberAccess     
Constructor:
 protected OgnlValueStack(XWorkConverter xworkConverter,
    CompoundRootAccessor accessor,
    TextProvider prov,
    boolean allowStaticAccess) 
 protected OgnlValueStack(ValueStack vs,
    XWorkConverter xworkConverter,
    CompoundRootAccessor accessor,
    boolean allowStaticAccess) 
Method from com.opensymphony.xwork2.ognl.OgnlValueStack Summary:
clearContextValues,   findString,   findString,   findValue,   findValue,   findValue,   findValue,   getContext,   getExprOverrides,   getRoot,   link,   peek,   pop,   push,   set,   setAcceptProperties,   setDefaultType,   setDevMode,   setExcludeProperties,   setExprOverrides,   setLogMissingProperties,   setOgnlUtil,   setRoot,   setValue,   setValue,   size
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.opensymphony.xwork2.ognl.OgnlValueStack Detail:
 public  void clearContextValues() 
 public String findString(String expr) 
 public String findString(String expr,
    boolean throwExceptionOnFailure) 
 public Object findValue(String expr) 
 public Object findValue(String expr,
    boolean throwExceptionOnFailure) 
 public Object findValue(String expr,
    Class asType) 
 public Object findValue(String expr,
    Class asType,
    boolean throwExceptionOnFailure) 
 public Map<String, Object> getContext() 
 public Map<Object, Object> getExprOverrides() 
 public CompoundRoot getRoot() 
 public static  void link(Map<String, Object> context,
    Class clazz,
    String name) 
 public Object peek() 
 public Object pop() 
 public  void push(Object o) 
 public  void set(String key,
    Object o) 
 public  void setAcceptProperties(Set<Pattern> acceptedProperties) 
 public  void setDefaultType(Class defaultType) 
 public  void setDevMode(String mode) 
 public  void setExcludeProperties(Set<Pattern> excludeProperties) 
 public  void setExprOverrides(Map<Object, Object> overrides) 
 public  void setLogMissingProperties(String logMissingProperties) 
 public  void setOgnlUtil(OgnlUtil ognlUtil) 
 protected  void setRoot(XWorkConverter xworkConverter,
    CompoundRootAccessor accessor,
    CompoundRoot compoundRoot,
    boolean allowStaticMethodAccess) 
 public  void setValue(String expr,
    Object value) 
 public  void setValue(String expr,
    Object value,
    boolean throwExceptionOnFailure) 
 public int size()