|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractFieldValidatorDescription
invocation
context.
Action
is executed.FilterDispatcher
and allow
for easier integration with SiteMesh.ActionValidatorManager
ActionValidatorManagerFactory
LocationUtils.LocationFinder
to the list of finders that will be queried for an object's
location by LocationUtils.getLocation(Object, String)
.
operationMode
is in 'STORE'.
AnnotationActionValidatorManager
This is the entry point into XWork's annotations-based validator framework.AnnotationUtils
Various utility methods dealing with annotationsAnnotationValidationConfigurationBuilder
Map
interface to handle a collection of attributes and
init parameters in a ServletContext
object.F
, resulting in an object
of type T
.
method
should be
apply (not filtered) depending on the set of excludeMethods
and
includeMethods
.
MethodFilterInterceptorUtil.applyMethod(Set, Set, String)
, except that excludeMethods
and includeMethods
are supplied as comma separated string.
operationMode
is 'RETRIEVE'.
ObjectFactory
.
ReferenceCache.create(Object)
.
String.toUpperCase(java.util.Locale)
.
methodName
.
Unchainable
.String
into a int []
representing the pattern matchable by this class.
ActionMapper
if the former
failed to obtained a valid ActionMapping
or uri.expression
passed in against value stack.
ConfigurationException
with no detail message.
ConfigurationException
with the specified
detail message.
ConfigurationException
with the specified
detail message.
ConfigurationException
with no detail message.
ConfigurationException
with no detail message.
ConfigurationException
with the specified
detail message.
ConfigurationException
with the specified
detail message.
Inject
.Container
.Container
implementation.obj2
exists in obj1
.
ContainUtil
will check if object 1 contains object 2.ConversionDescription
ConversionErrorFieldValidatorDescription
ActionContext
's conversionErrors map as a field error (provided
that the action implements ValidationAware
).ConversionRule
ConversionType
XWorkConverter
if none
is specified.
XWorkConverter
if none
is specified.
Container
instance.
Dispatcher
that subclasses can override
with a custom Dispatcher, if needed.
ClasspathConfigurationProvider.ResultMap.createResultConfig(org.apache.struts2.config.Result)
.
DateDirective
DateModel
DateRangeFieldValidatorDescription
Configuration.getTemplate(String, Locale)
call.
Configuration.getTemplate(String, Locale)
call.
PortletActionContext
.
ftl
.
DefaultSettings
to use when another implementation is not provided (plugged in).
ObjectTypeDeterminer
looks at the Class-conversion.properties for entries that indicated what
objects are contained within Maps and Collections.struts.custom.properties
),
and any custom message resources ().
Settings
objects
to update settings or retrieve settings values.Settings
objects.
ValidatorContext
interface.in
using
referenceType
and puts them in out
.
ActionMapper
.
event
, the portlet will receive two
portlet requests, one for the event
phase, and then followed by a render
operation.DefaultActionValidatorManager.validate(Object, String)
.
HttpServletResponse.sendRedirect(String)
.
ActionInvocation
and returns a inputResultName
when action / field errors is found registered.
DOMBuilder
is a utility class that will generate a W3C
DOM Document from SAX events.DoubleRangeFieldValidatorDescription
EmailValidatorDescription
params
are String arrays,
as requried by the setParameters on the PortletURL.
EnumTypeConverter
EnumTypeConverter() -
Constructor for class com.opensymphony.xwork2.util.EnumTypeConverter
TokenHelper.DEFAULT_TOKEN_NAME
if no name is provided) so that the same token can be re-used for the scope of a request for the same name.
Portlet.processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse)
)
ExpressionValidatorDescription
RuntimeException
based on the given information.
FieldExpressionValidatorDescription
MultiPartRequestWrapper
, which is automatically applied for any request that
includes a file.ActionContext
(see note)
Serving static content
Kicking off XWork's interceptor chain for the request lifecycle
IMPORTANT: this filter must be mapped to all requests.FilterDispatcher
.finalizeReferent()
method which a
background thread invokes after the garbage collector reclaims the
referent.finalizeReferent()
method which a background
thread invokes after the garbage collector reclaims the referent.finalizeReferent()
method which a background
thread invokes after the garbage collector reclaims the referent.Inject
annotation in an array of annotations.
LocalizedTextUtil.findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args)
with aTextName as the default message.
ReferenceCache.create(Object)
has been overridden, this method will create a new
value, put it in the map, and return it.
LocationImpl
from a Location
.
PortletRequest
.
FreemarkerResult.doExecute(String, ActionInvocation)
to obtain the
FreeMarker configuration object that this result will use for template loading.
PortletFreemarkerResult.doExecute(String, ActionInvocation)
to obtain the FreeMarker configuration object that this result will use
for template loading.
Container
.
Include.PageOutputStream
.
ActionSupport.getActionErrors()
.
ActionSupport.getFieldErrors()
.
name
from object
,
object
should have the appropriate getter/setter.
File
object for the filename specified or null if no files
are associated with the given field name.
File[]
for the given input field name.
conversion.properties
file name.
PortletRequest
.
PortletRequest
.
PortletRequest
.
Settings.get(String)
method.
InputStream
instance.
ContainerBuilder
.
Location
of an element (SAX flavor).
Location
of an element (DOM flavor).
getLocation(elem, null)
.
Settings.getLocation(String)
method.
Inject.value()
.
PortletServletRequestDispatcher
wrapping the PortletRequestDispatcher
as a RequestDispatcher
instance.
FreemarkerResult.doExecute(String, ActionInvocation)
to obtain the
FreeMarker object wrapper object that this result will use for adapting objects into template
models.
PortletFreemarkerResult.doExecute(String, ActionInvocation)
to obtain the FreeMarker object wrapper object that this result will use
for adapting objects into template models.
Include.PageOutputStream
allowing all data written to stream to be stored in temporary buffer.
OutputStream
instance.
PortletConfig
instance.
PortletContext
instance.
PortletRequest
instance.
Method
in action
.
org.apache.struts2.servlet.ServletRequestAware
, since this method will be dropped in future.
org.apache.struts2.servlet.ServletRequestAware
, since this method will be dropped in future.
org.apache.struts2.servlet.ServletRequestAware
, since this method will be dropped in future.
PortletServletRequestDispatcher
wrapping the PortletRequestDispatcher
as a RequestDispatcher
instance.
PortletRequestDispatcher
as a PortletServletRequestDispatcher
instance.
allowRequestParameterSwitch
is 'true', else it simply returns 'NONE', meaning its neither in the 'STORE_MODE' nor
'RETRIEVE_MODE'.
Form
component.
PortletContext
as a PortletServletContext
instance.
PortletRequest
has no servlet path.
PortletSession
as a PortletHttpSession
instance.
PortletSession
as a PortletHttpSession
instance.
MessageFormat
, or, if the message is not found, a supplied
default value is returned.
MessageFormat
, or null if no message is found.
MessageFormat
, or null if no message is found.
MessageFormat
, or, if the message is not found, a supplied
default value is returned.
MessageFormat
, or, if the message is not found, a supplied
default value is returned.
MessageFormat
, or, if the message is not found, a supplied
default value is returned.
MessageFormat
, or, if the message is not found, a supplied
default value is returned.
MessageFormat
, or, if the message is not found, a supplied
default value is returned.
MessageFormat
, or, if the message is not found, a supplied
default value is returned.
Include.PageOutputStream.getBuffer()
.intercept
, giving
the Interceptor a chance to initialize any needed resources.
implementation
.
cookiesMap
into action that implements
CookiesAware
.
Container
will inject static fields and methods
into the given classes.
InstantiatingNullHandler.CREATE_NULL_OBJECTS
is in the action context with a value of true (this key is set
only during the execution of the ParametersInterceptor
), OGNL expressions
that have caused a NullPointerException will be temporarily stopped for evaluation while the system automatically
tries to solve the null references by automatically creating the object.ActionInvocation
or to short-circuit the processing and just return a String return code.
paramNames
and paramValues
.
ApplicationContext
under the attribute that the Spring listener sets in
the servlet context.
Filter
and in AOP languages.InterceptorMapping
IntRangeFieldValidatorDescription
InvalidMetadataException
InvalidMetadataException
with the supplied error message.
actionInvocation
's ActionProxy
's
method
with prefixes
before invoking the prefixed method.
Iterator
Location.UNKNOWN
.
Settings.isSet(String)
method.
Location.UNKNOWN
.
Settings.list()
method.
struts.locale
setting.
Locale
from a String of the form en_US_foo into a Locale
with language "en", country "US" and variant "foo".
Locale
.Locator
as attributes.Location
.Stack
.
int []
.
int []
.
int []
.
int []
.
int []
.
col1
and col2
and return the composite
Collection
.
map1
and map2
and return the composite
Map
ValidationAware
action's messages / errors and field errors into
Http Session, such that it will be retrieveable at a later stage.Interceptor
that is applied to selectively according
to specified included/excluded method lists.MethodFilterInterceptor
.ActionInvocation
.ActionProxy
.Interceptor
.Result
.PortletActionContext
.
ModelDriven
actions and adds the action's model on to the value stack.string
, or defaultString
if
string
is null
or ""
.
string
, or ""
if string
is null
.
ObjectTypeDeterminer
.ReferenceCache
delegating to the specified function
.
page context
.
uri:line:column
" (e.g.
Action.SUCCESS
, Action.INPUT
, etc.
name
given.
PortletConfig
PortletActionContext
.
ServletActionRedirectResult
Map
implementation representing the
PortletContext
of a Portlet.PortletContext
.
PortletSession
as a HttpSession
instance.Map
interface to handle a collection of request attributes.PortletConfig
as a ServletConfig
instance.PortletContext
as a ServletContext
instance.InputStream
from a portlet as a ServletInputStream
instance.OutputStream
from a portlet as a ServletOutputStream
instance.PortletRequest
as a HttpServletRequest
instance.Map
interface to handle a collection of portlet session
attributes.JspFactory
, this result mocks a JSP
execution environment and then displays a Velocity template that will be
streamed directly to the servlet outputPreparable
.block
of code subjected to profiling to be executed
and avoid the need of coding boiler code that does pushing (UtilTimeBean.push(...)) and
poping (UtilTimerBean.pop(...)) in a try ... finally ... block.
Method.invoke(java.lang.Object, java.lang.Object[])
.
PropertiesReader
and sets
the underlaying reader and the list delimiter.
name
given.
Location.UNKNOWN
.
ReferenceMap
to support lazy loading values by overriding
ReferenceCache.create(Object)
.new ReferenceCache(STRONG, STRONG)
.
Portlet.render(javax.portlet.RenderRequest, javax.portlet.RenderResponse)
)
PortletRequest
Map
interface to handle a collection of request attributes.RequiredFieldValidatorDescription
RequiredStringValidatorDescription
PortletResponse
servlet context
object.
request dispatcher
.
ActionMapper
provided by the ActionMapperFactory
to redirect the browser to a
URL that invokes the specified action and (optional) namespace.sendRedirect
method to the location specified.Map
interface to handle a collection of HTTP session
attributes.Validateable
's validate()
should always
be invoked.
cookiesName
which if matche will allow the cookie
to be injected into action, could be comma-separated string.
cookiesValue
which if matched (together with matching
cookiesName) will caused the cookie to be injected into action, could be
comma-separated string.
FilterDispatcher.filterConfig
; this method
sets up the ServletContextSingleton
with
the servlet context from the filter configuration.
conversion.properties
file name.
Settings.set(String, String)
method.
inputResultName
(result name to be returned when
a action / field error is found registered).
TextFieldTag.setMaxlength(java.lang.String)
instead
paramNames
attribute to be set as comma-separated-values (csv).
paramValues
attribute to be set as a comma-separated-values (csv).
Settings.setInstance(org.apache.struts2.config.Settings)
method.
validate()
should always be called or only per annotated method.
InvocationSessionStore.loadInvocation(java.lang.String, java.lang.String)
StringLengthFieldValidatorDescription
string
has been set to
something other than ""
or null
.
CompositeActionMapper
to identify its containing ActionMapper
class.
ConversionErrorInterceptor
but only adds conversion errors from the ActionContext to
the field errors of the action if the field value is not null, "", or {""} (a size 1 String array with only an empty
String).StrutsException
with no detail message.
StrutsException
with the specified
detail message.
StrutsException
with the specified
detail message and target.
StrutsException
with the root cause
StrutsException
with the root cause and target
StrutsException
with the specified
detail message and exception cause.
StrutsException
with the specified
detail message, cause, and target
TextParseUtil
.ResourceBundle
s and their underlying text messages.TokenInterceptor
, providing advanced logic for handling invalid tokens.descripton - uri:line:column
"
format (e.g.
/dir/theme/name
.
TextParseUtil.translateVariables(java.lang.String, com.opensymphony.xwork2.util.ValueStack)
and
encodes the URL using URLEncoder.encode(java.lang.String)
with the encoding specified in the configuration.
expression
to the value returned
by a call to ValueStack.findValue(java.lang.String)
.
TextParseUtil.translateVariables(char, String, ValueStack)
except for the introduction of an additional evaluator
that allows
the parsed value to be evaluated by the evaluator
.
expression
to the value returned
by a call to ValueStack.findValue(java.lang.String)
.
TreeDirective
TreeNodeDirective
XWorkException
with no detail message.
XWorkException
with the specified
detail message.
XWorkException
with no detail message.
XWorkException
with the specified
detail message.
String
to a
Writer
.
String
.
String
to a
Writer
.
[unknown location]
".
URLValidatorDescription
Exception
with no specified detail message.
Exception
with the specified detail message.
ValidationAware
).ValidatorDescription
ValidatorType
OGNL value stack
.
JspFactory
, this result mocks a JSP
execution environment and then displays a Velocity template that will be
streamed directly to the servlet outputVisitorFieldValidatorDescription
XWorkException
with no detail message.
XWorkException
with the specified
detail message.
XWorkException
with the specified
detail message and target.
XWorkException
with the root cause
XWorkException
with the root cause and target
XWorkException
with the specified
detail message and exception cause.
XWorkException
with the specified
detail message, cause, and target
XWorkMethodAccessor.DENY_METHOD_EXECUTION
is in the action context with a value of true.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |