Class RestrictedValueStack
- java.lang.Object
-
- com.atlassian.confluence.impl.struts.RestrictedValueStack
-
- All Implemented Interfaces:
com.opensymphony.xwork2.util.ValueStack,org.apache.struts2.util.ValueStack
public class RestrictedValueStack extends Object implements com.opensymphony.xwork2.util.ValueStack
Block all operations except for push, pop, peek, find, size.- Since:
- 8.5.5
-
-
Constructor Summary
Constructors Constructor Description RestrictedValueStack(com.opensymphony.xwork2.util.ValueStack delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfindString(String expr)StringfindString(String expr, boolean throwExceptionOnFailure)ObjectfindValue(String expr)ObjectfindValue(String expr, boolean throwExceptionOnFailure)ObjectfindValue(String expr, Class asType)ObjectfindValue(String expr, Class asType, boolean throwExceptionOnFailure)com.opensymphony.xwork2.ActionContextgetActionContext()Map<String,Object>getContext()Map<Object,Object>getExprOverrides()com.opensymphony.xwork2.util.CompoundRootgetRoot()Objectpeek()Objectpop()voidpush(Object o)voidset(String key, Object o)voidsetDefaultType(Class defaultType)voidsetExprOverrides(Map<Object,Object> overrides)voidsetParameter(String expr, Object value)voidsetValue(String expr, Object value)voidsetValue(String expr, Object value, boolean throwExceptionOnFailure)intsize()
-
-
-
Method Detail
-
getContext
public Map<String,Object> getContext()
- Specified by:
getContextin interfaceorg.apache.struts2.util.ValueStack
-
getActionContext
public com.opensymphony.xwork2.ActionContext getActionContext()
- Specified by:
getActionContextin interfacecom.opensymphony.xwork2.util.ValueStack- Specified by:
getActionContextin interfaceorg.apache.struts2.util.ValueStack
-
setDefaultType
public void setDefaultType(Class defaultType)
- Specified by:
setDefaultTypein interfaceorg.apache.struts2.util.ValueStack
-
setExprOverrides
public void setExprOverrides(Map<Object,Object> overrides)
- Specified by:
setExprOverridesin interfaceorg.apache.struts2.util.ValueStack
-
getExprOverrides
public Map<Object,Object> getExprOverrides()
- Specified by:
getExprOverridesin interfaceorg.apache.struts2.util.ValueStack
-
getRoot
public com.opensymphony.xwork2.util.CompoundRoot getRoot()
- Specified by:
getRootin interfaceorg.apache.struts2.util.ValueStack
-
setValue
public void setValue(String expr, Object value)
- Specified by:
setValuein interfaceorg.apache.struts2.util.ValueStack
-
setParameter
public void setParameter(String expr, Object value)
- Specified by:
setParameterin interfaceorg.apache.struts2.util.ValueStack
-
setValue
public void setValue(String expr, Object value, boolean throwExceptionOnFailure)
- Specified by:
setValuein interfaceorg.apache.struts2.util.ValueStack
-
findString
public String findString(String expr)
- Specified by:
findStringin interfaceorg.apache.struts2.util.ValueStack
-
findString
public String findString(String expr, boolean throwExceptionOnFailure)
- Specified by:
findStringin interfaceorg.apache.struts2.util.ValueStack
-
findValue
public Object findValue(String expr)
- Specified by:
findValuein interfaceorg.apache.struts2.util.ValueStack
-
findValue
public Object findValue(String expr, boolean throwExceptionOnFailure)
- Specified by:
findValuein interfaceorg.apache.struts2.util.ValueStack
-
findValue
public Object findValue(String expr, Class asType)
- Specified by:
findValuein interfaceorg.apache.struts2.util.ValueStack
-
findValue
public Object findValue(String expr, Class asType, boolean throwExceptionOnFailure)
- Specified by:
findValuein interfaceorg.apache.struts2.util.ValueStack
-
peek
public Object peek()
- Specified by:
peekin interfaceorg.apache.struts2.util.ValueStack
-
pop
public Object pop()
- Specified by:
popin interfaceorg.apache.struts2.util.ValueStack
-
push
public void push(Object o)
- Specified by:
pushin interfaceorg.apache.struts2.util.ValueStack
-
set
public void set(String key, Object o)
- Specified by:
setin interfaceorg.apache.struts2.util.ValueStack
-
size
public int size()
- Specified by:
sizein interfaceorg.apache.struts2.util.ValueStack
-
-