java.lang.Object | |
↳ | webwork.util.ValueStack |
Known Direct Subclasses |
Value stack. A VS is used by the WebWork system as a way to make findInContext values available by using the push and pop methods. They can then be accessed by using the find* methods.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ValueStack.ValueHolder |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | STACK_NAME | ||||||||||
String | WEBWORK_VALUE_STACK_LOG_EXCEPTIONS | A System property name that controls whether value stack exceptions are logged or not. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
classes |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clear the method cache.
| |||||||||||
Find a value for a given name.
| |||||||||||
Returns TRUE is the value stack is empty.
| |||||||||||
Peek at the object that is at the top of the stack.
| |||||||||||
Pop a value from the value stack.
| |||||||||||
Push a value onto the value stack.
| |||||||||||
Returns the size of the value stack.
| |||||||||||
Resolve a WebWork expression statement.
| |||||||||||
Return a string representation of the Stack
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Find a value by id.
| |||||||||||
Get a method with a given name.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Iterable
|
A System property name that controls whether value stack exceptions are logged or not. By default they are logged.
Clear the method cache. This must be called if the application is restarted.
Find a value for a given name.
IllegalArgumentException |
---|
Returns TRUE is the value stack is empty.
Peek at the object that is at the top of the stack. The object is returned unmodified, so if it would be a ValueHolder it is not unwrapped
Returns the size of the value stack.
Resolve a WebWork expression statement.
Find a value by id. This method can be overridden by subclasses to have some context concept to evaluate
id | the value id. |
---|
Get a method with a given name.
cl | the class of the method |
---|---|
name | the name of the method |
IntrospectionException |
---|