Package | Description |
---|---|
com.opensymphony.xwork2 |
Main XWork interfaces and classes.
|
com.opensymphony.xwork2.conversion.impl | |
com.opensymphony.xwork2.interceptor |
Interceptor classes.
|
com.opensymphony.xwork2.mock |
XWork specific mock classes.
|
com.opensymphony.xwork2.ognl | |
com.opensymphony.xwork2.util |
XWork util classes.
|
com.opensymphony.xwork2.validator |
XWork validation subsystem.
|
com.opensymphony.xwork2.validator.validators |
XWork default validator classes.
|
Modifier and Type | Field and Description |
---|---|
protected ValueStack |
DefaultActionInvocation.stack |
Modifier and Type | Method and Description |
---|---|
ValueStack |
DefaultActionInvocation.getStack() |
ValueStack |
ActionInvocation.getStack()
Gets the ValueStack associated with this ActionInvocation.
|
ValueStack |
ActionContext.getValueStack()
Gets the OGNL value stack.
|
Modifier and Type | Method and Description |
---|---|
String |
TextProviderSupport.getText(String key,
String defaultValue,
List<?> args,
ValueStack stack)
Gets a message based on a key using the supplied args, as defined in
MessageFormat , or, if the message is not found, a supplied
default value is returned. |
String |
TextProvider.getText(String key,
String defaultValue,
List<?> args,
ValueStack stack)
Gets a message based on a key using the supplied args, as defined in
MessageFormat , or, if the message is not found, a supplied
default value is returned. |
String |
DefaultTextProvider.getText(String key,
String defaultValue,
List<?> args,
ValueStack stack) |
String |
CompositeTextProvider.getText(String key,
String defaultValue,
List<?> args,
ValueStack stack)
It will consult each
TextProvider s and return the first valid message for this
key , before returining defaultValue |
String |
ActionSupport.getText(String key,
String defaultValue,
List<?> args,
ValueStack stack) |
String |
TextProviderSupport.getText(String key,
String defaultValue,
String[] args,
ValueStack stack)
Gets a message based on a key using the supplied args, as defined in
MessageFormat , or, if the message is not found, a supplied
default value is returned. |
String |
TextProvider.getText(String key,
String defaultValue,
String[] args,
ValueStack stack)
Gets a message based on a key using the supplied args, as defined in
MessageFormat , or, if the message is not found, a supplied
default value is returned. |
String |
DefaultTextProvider.getText(String key,
String defaultValue,
String[] args,
ValueStack stack) |
String |
CompositeTextProvider.getText(String key,
String defaultValue,
String[] args,
ValueStack stack)
It will consult each
TextProvider s and return the first valid message for this
key , before returining defaultValue |
String |
ActionSupport.getText(String key,
String defaultValue,
String[] args,
ValueStack stack) |
String |
ActionEventListener.handleException(Throwable t,
ValueStack stack)
Called when an exception is thrown by the action
|
Object |
ActionEventListener.prepare(Object action,
ValueStack stack)
Called after an action has been created.
|
void |
ActionContext.setValueStack(ValueStack stack)
Sets the OGNL value stack.
|
Modifier and Type | Method and Description |
---|---|
static String |
XWorkConverter.getConversionErrorMessage(String propertyName,
ValueStack stack) |
Modifier and Type | Method and Description |
---|---|
protected void |
ParametersInterceptor.setParameters(Object action,
ValueStack stack,
Map<String,Object> parameters) |
Modifier and Type | Method and Description |
---|---|
ValueStack |
MockActionInvocation.getStack() |
Modifier and Type | Method and Description |
---|---|
void |
MockActionInvocation.setStack(ValueStack stack) |
Modifier and Type | Class and Description |
---|---|
class |
OgnlValueStack
Ognl implementation of a value stack that allows for dynamic Ognl expressions to be evaluated against it.
|
Modifier and Type | Method and Description |
---|---|
ValueStack |
OgnlValueStackFactory.createValueStack() |
ValueStack |
OgnlValueStackFactory.createValueStack(ValueStack stack) |
Modifier and Type | Method and Description |
---|---|
ValueStack |
OgnlValueStackFactory.createValueStack(ValueStack stack) |
Constructor and Description |
---|
OgnlValueStack(ValueStack vs,
XWorkConverter xworkConverter,
CompoundRootAccessor accessor,
boolean allowStaticAccess) |
Modifier and Type | Method and Description |
---|---|
ValueStack |
ValueStackFactory.createValueStack()
Get a new instance of
ValueStack |
ValueStack |
ValueStackFactory.createValueStack(ValueStack stack)
Get a new instance of
ValueStack |
Modifier and Type | Method and Description |
---|---|
ValueStack |
ValueStackFactory.createValueStack(ValueStack stack)
Get a new instance of
ValueStack |
static String |
LocalizedTextUtil.findText(Class aClass,
String aTextName,
Locale locale,
String defaultMessage,
Object[] args,
ValueStack valueStack)
Finds a localized text message for the given key, aTextName.
|
static String |
LocalizedTextUtil.findText(ResourceBundle bundle,
String aTextName,
Locale locale,
String defaultMessage,
Object[] args,
ValueStack valueStack)
Finds a localized text message for the given key, aTextName, in the specified resource
bundle.
|
static Object |
TextParseUtil.translateVariables(char[] openChars,
String expression,
ValueStack stack,
Class asType,
TextParseUtil.ParsedValueEvaluator evaluator)
Converted object from variable translation.
|
static Object |
TextParseUtil.translateVariables(char[] openChars,
String expression,
ValueStack stack,
Class asType,
TextParseUtil.ParsedValueEvaluator evaluator,
int maxLoopCount)
Converted object from variable translation.
|
static String |
TextParseUtil.translateVariables(char open,
String expression,
ValueStack stack)
Converts all instances of ${...} in
expression to the value returned
by a call to findValue(java.lang.String) . |
static Object |
TextParseUtil.translateVariables(char open,
String expression,
ValueStack stack,
Class asType)
Converted object from variable translation.
|
static Object |
TextParseUtil.translateVariables(char open,
String expression,
ValueStack stack,
Class asType,
TextParseUtil.ParsedValueEvaluator evaluator)
Converted object from variable translation.
|
static Object |
TextParseUtil.translateVariables(char open,
String expression,
ValueStack stack,
Class asType,
TextParseUtil.ParsedValueEvaluator evaluator,
int maxLoopCount)
Converted object from variable translation.
|
static String |
TextParseUtil.translateVariables(String expression,
ValueStack stack)
Converts all instances of ${...}, and %{...} in
expression to the value returned
by a call to findValue(java.lang.String) . |
static String |
TextParseUtil.translateVariables(String expression,
ValueStack stack,
TextParseUtil.ParsedValueEvaluator evaluator)
Function similarly as
TextParseUtil.translateVariables(char, String, ValueStack)
except for the introduction of an additional evaluator that allows
the parsed value to be evaluated by the evaluator . |
static Collection<String> |
TextParseUtil.translateVariablesCollection(char[] openChars,
String expression,
ValueStack stack,
boolean excludeEmptyElements,
TextParseUtil.ParsedValueEvaluator evaluator,
int maxLoopCount)
Resolves given expression on given ValueStack.
|
static Collection<String> |
TextParseUtil.translateVariablesCollection(String expression,
ValueStack stack,
boolean excludeEmptyElements,
TextParseUtil.ParsedValueEvaluator evaluator) |
Modifier and Type | Method and Description |
---|---|
String |
DelegatingValidatorContext.getText(String key,
String defaultValue,
List<?> args,
ValueStack stack) |
String |
DelegatingValidatorContext.getText(String key,
String defaultValue,
String[] args,
ValueStack stack) |
void |
Validator.setValueStack(ValueStack stack)
Sets the value stack to use to resolve values and parameters
|
Modifier and Type | Field and Description |
---|---|
protected ValueStack |
ValidatorSupport.stack |
Modifier and Type | Method and Description |
---|---|
void |
ValidatorSupport.setValueStack(ValueStack stack) |
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.