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 String
findString(String expr)
String
findString(String expr, boolean throwExceptionOnFailure)
Object
findValue(String expr)
Object
findValue(String expr, boolean throwExceptionOnFailure)
Object
findValue(String expr, Class asType)
Object
findValue(String expr, Class asType, boolean throwExceptionOnFailure)
com.opensymphony.xwork2.ActionContext
getActionContext()
Map<String,Object>
getContext()
Map<Object,Object>
getExprOverrides()
com.opensymphony.xwork2.util.CompoundRoot
getRoot()
Object
peek()
Object
pop()
void
push(Object o)
void
set(String key, Object o)
void
setDefaultType(Class defaultType)
void
setExprOverrides(Map<Object,Object> overrides)
void
setParameter(String expr, Object value)
void
setValue(String expr, Object value)
void
setValue(String expr, Object value, boolean throwExceptionOnFailure)
int
size()
-
-
-
Method Detail
-
getContext
public Map<String,Object> getContext()
- Specified by:
getContext
in interfacecom.opensymphony.xwork2.util.ValueStack
-
getActionContext
public com.opensymphony.xwork2.ActionContext getActionContext()
- Specified by:
getActionContext
in interfacecom.opensymphony.xwork2.util.ValueStack
-
setDefaultType
public void setDefaultType(Class defaultType)
- Specified by:
setDefaultType
in interfacecom.opensymphony.xwork2.util.ValueStack
-
setExprOverrides
public void setExprOverrides(Map<Object,Object> overrides)
- Specified by:
setExprOverrides
in interfacecom.opensymphony.xwork2.util.ValueStack
-
getExprOverrides
public Map<Object,Object> getExprOverrides()
- Specified by:
getExprOverrides
in interfacecom.opensymphony.xwork2.util.ValueStack
-
getRoot
public com.opensymphony.xwork2.util.CompoundRoot getRoot()
- Specified by:
getRoot
in interfacecom.opensymphony.xwork2.util.ValueStack
-
setValue
public void setValue(String expr, Object value)
- Specified by:
setValue
in interfacecom.opensymphony.xwork2.util.ValueStack
-
setParameter
public void setParameter(String expr, Object value)
- Specified by:
setParameter
in interfacecom.opensymphony.xwork2.util.ValueStack
-
setValue
public void setValue(String expr, Object value, boolean throwExceptionOnFailure)
- Specified by:
setValue
in interfacecom.opensymphony.xwork2.util.ValueStack
-
findString
public String findString(String expr)
- Specified by:
findString
in interfacecom.opensymphony.xwork2.util.ValueStack
-
findString
public String findString(String expr, boolean throwExceptionOnFailure)
- Specified by:
findString
in interfacecom.opensymphony.xwork2.util.ValueStack
-
findValue
public Object findValue(String expr)
- Specified by:
findValue
in interfacecom.opensymphony.xwork2.util.ValueStack
-
findValue
public Object findValue(String expr, boolean throwExceptionOnFailure)
- Specified by:
findValue
in interfacecom.opensymphony.xwork2.util.ValueStack
-
findValue
public Object findValue(String expr, Class asType)
- Specified by:
findValue
in interfacecom.opensymphony.xwork2.util.ValueStack
-
findValue
public Object findValue(String expr, Class asType, boolean throwExceptionOnFailure)
- Specified by:
findValue
in interfacecom.opensymphony.xwork2.util.ValueStack
-
peek
public Object peek()
- Specified by:
peek
in interfacecom.opensymphony.xwork2.util.ValueStack
-
pop
public Object pop()
- Specified by:
pop
in interfacecom.opensymphony.xwork2.util.ValueStack
-
push
public void push(Object o)
- Specified by:
push
in interfacecom.opensymphony.xwork2.util.ValueStack
-
set
public void set(String key, Object o)
- Specified by:
set
in interfacecom.opensymphony.xwork2.util.ValueStack
-
size
public int size()
- Specified by:
size
in interfacecom.opensymphony.xwork2.util.ValueStack
-
-