Class RestrictedValueStack
- java.lang.Object
-
- com.atlassian.confluence.impl.struts.RestrictedValueStack
-
- All Implemented Interfaces:
com.opensymphony.xwork2.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 interfacecom.opensymphony.xwork2.util.ValueStack
-
getActionContext
public com.opensymphony.xwork2.ActionContext getActionContext()
- Specified by:
getActionContextin interfacecom.opensymphony.xwork2.util.ValueStack
-
setDefaultType
public void setDefaultType(Class defaultType)
- Specified by:
setDefaultTypein interfacecom.opensymphony.xwork2.util.ValueStack
-
setExprOverrides
public void setExprOverrides(Map<Object,Object> overrides)
- Specified by:
setExprOverridesin interfacecom.opensymphony.xwork2.util.ValueStack
-
getExprOverrides
public Map<Object,Object> getExprOverrides()
- Specified by:
getExprOverridesin interfacecom.opensymphony.xwork2.util.ValueStack
-
getRoot
public com.opensymphony.xwork2.util.CompoundRoot getRoot()
- Specified by:
getRootin interfacecom.opensymphony.xwork2.util.ValueStack
-
setValue
public void setValue(String expr, Object value)
- Specified by:
setValuein interfacecom.opensymphony.xwork2.util.ValueStack
-
setParameter
public void setParameter(String expr, Object value)
- Specified by:
setParameterin interfacecom.opensymphony.xwork2.util.ValueStack
-
setValue
public void setValue(String expr, Object value, boolean throwExceptionOnFailure)
- Specified by:
setValuein interfacecom.opensymphony.xwork2.util.ValueStack
-
findString
public String findString(String expr)
- Specified by:
findStringin interfacecom.opensymphony.xwork2.util.ValueStack
-
findString
public String findString(String expr, boolean throwExceptionOnFailure)
- Specified by:
findStringin interfacecom.opensymphony.xwork2.util.ValueStack
-
findValue
public Object findValue(String expr)
- Specified by:
findValuein interfacecom.opensymphony.xwork2.util.ValueStack
-
findValue
public Object findValue(String expr, boolean throwExceptionOnFailure)
- Specified by:
findValuein interfacecom.opensymphony.xwork2.util.ValueStack
-
findValue
public Object findValue(String expr, Class asType)
- Specified by:
findValuein interfacecom.opensymphony.xwork2.util.ValueStack
-
findValue
public Object findValue(String expr, Class asType, boolean throwExceptionOnFailure)
- Specified by:
findValuein interfacecom.opensymphony.xwork2.util.ValueStack
-
peek
public Object peek()
- Specified by:
peekin interfacecom.opensymphony.xwork2.util.ValueStack
-
pop
public Object pop()
- Specified by:
popin interfacecom.opensymphony.xwork2.util.ValueStack
-
push
public void push(Object o)
- Specified by:
pushin interfacecom.opensymphony.xwork2.util.ValueStack
-
set
public void set(String key, Object o)
- Specified by:
setin interfacecom.opensymphony.xwork2.util.ValueStack
-
size
public int size()
- Specified by:
sizein interfacecom.opensymphony.xwork2.util.ValueStack
-
-