Uses of Class
org.apache.struts.util.MessageResources

Packages that use MessageResources
org.apache.struts.action The action package is the core of the struts framework, providing the "Controller" aspect of a MVC model. 
org.apache.struts.chain.contexts This package provides objects that encapsulate access to the request and session-scoped resources to service command processing. 
org.apache.struts.config The "config" package contains configuration objects that correspond to elements that may be specified in the struts-config.xml module configuration file. 
org.apache.struts.util The Utilities package provides a variety of families of classes, to solve problems that are commonly encountered in building web applications. 
org.apache.struts.validator The validator package provides a series of classes to validate ActionForm type of input. 
 

Uses of MessageResources in org.apache.struts.action
 

Fields in org.apache.struts.action declared as MessageResources
protected  MessageResources ActionServlet.internal
          The resources object for our internal resources.
 

Methods in org.apache.struts.action that return MessageResources
 MessageResources ActionServlet.getInternal()
          Return the MessageResources instance containing our internal message strings.
protected  MessageResources RequestProcessor.getInternal()
          Return the MessageResources instance containing our internal message strings.
protected  MessageResources Action.getResources(javax.servlet.http.HttpServletRequest request)
          Return the default message resources for the current module.
protected  MessageResources Action.getResources(javax.servlet.http.HttpServletRequest request, java.lang.String key)
          Return the specified message resources for the current module.
 

Uses of MessageResources in org.apache.struts.chain.contexts
 

Methods in org.apache.struts.chain.contexts that return MessageResources
 MessageResources ActionContext.getMessageResources()
          Return the default message resources for the current module.
 MessageResources ActionContextBase.getMessageResources()
           
 MessageResources ServletActionContext.getMessageResources()
           
 MessageResources ActionContext.getMessageResources(java.lang.String key)
          Return the specified message resources for the current module.
 MessageResources ActionContextBase.getMessageResources(java.lang.String key)
           
 MessageResources ServletActionContext.getMessageResources(java.lang.String key)
           
 

Methods in org.apache.struts.chain.contexts with parameters of type MessageResources
 void ActionContext.setMessageResources(MessageResources resources)
          Set the default message resources for the current module.
 void ActionContextBase.setMessageResources(MessageResources messageResources)
           
 void ServletActionContext.setMessageResources(MessageResources resources)
           
 void ServletActionContext.setMessageResources(java.lang.String key, MessageResources resources)
           Store the mesasage resources for the current module under the given request attribute key.
 

Uses of MessageResources in org.apache.struts.config
 

Methods in org.apache.struts.config that return MessageResources
 MessageResources ConfigHelper.getMessageResources()
           The application resources for this application.
 MessageResources ConfigHelperInterface.getMessageResources()
           The application resources for this application.
 

Uses of MessageResources in org.apache.struts.util
 

Subclasses of MessageResources in org.apache.struts.util
 class PropertyMessageResources
          Concrete subclass of MessageResources that reads message keys and corresponding strings from named property resources in a similar manner (see modes below) that java.util.PropertyResourceBundle does.
 

Fields in org.apache.struts.util declared as MessageResources
protected static MessageResources ResponseUtils.messages
          The message resources for this package.
 

Methods in org.apache.struts.util that return MessageResources
abstract  MessageResources MessageResourcesFactory.createResources(java.lang.String config)
          Create and return a newly instansiated MessageResources.
 MessageResources PropertyMessageResourcesFactory.createResources(java.lang.String config)
          Create and return a newly instansiated MessageResources.
static MessageResources MessageResources.getMessageResources(java.lang.String config)
          Create and return an instance of MessageResources for the created by the default MessageResourcesFactory.
 

Uses of MessageResources in org.apache.struts.validator
 

Methods in org.apache.struts.validator that return MessageResources
static MessageResources Resources.getMessageResources(javax.servlet.http.HttpServletRequest request)
          Retrieve MessageResources for the module.
static MessageResources Resources.getMessageResources(javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, java.lang.String bundle)
          Retrieve MessageResources for the module and bundle.
 

Methods in org.apache.struts.validator with parameters of type MessageResources
static java.lang.String[] Resources.getArgs(java.lang.String actionName, MessageResources messages, java.util.Locale locale, org.apache.commons.validator.Field field)
          Gets the message arguments based on the current ValidatorAction and Field.
static java.lang.String Resources.getMessage(MessageResources messages, java.util.Locale locale, java.lang.String key)
          Gets the Locale sensitive value based on the key passed in.
static java.lang.String Resources.getMessage(MessageResources messages, java.util.Locale locale, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field)
          Gets the locale sensitive message based on the ValidatorAction message and the Field's arg objects.
static java.lang.String Resources.getMessage(javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, MessageResources defaultMessages, java.util.Locale locale, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field)
          Gets the Locale sensitive value based on the key passed in.
 



Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.