Uses of Interface
net.sourceforge.stripes.action.ActionBean

Packages that use ActionBean
net.sourceforge.stripes.action This package defines the ActionBean interface and related classes and interfaces for writing ActionBeans. 
net.sourceforge.stripes.controller This package contains classes which form the core internals of Stripes. 
net.sourceforge.stripes.exception Contains interfaces and implementations of exception handling strategy classes. 
net.sourceforge.stripes.localization This package is used by Stripes to provide localization capabilities to application. 
net.sourceforge.stripes.mock Mock objects that implement many of the Servlet and Http Servlet interfaces. 
net.sourceforge.stripes.tag Contains implementation classes for all the Stripes custom tags and interfaces for overriding the strategy used to (re-)populate tag values and rendering tags in case of validation errors. 
net.sourceforge.stripes.util This package contains various utility classes that are used to implement Stripes. 
net.sourceforge.stripes.validation This package contains interfaces and implementations of error message classes and of classes that convert Strings to rich objects, providing validation during the conversion. 
net.sourceforge.stripes.validation.expression This package provides several classes that give Stripes the ability to execute EL expressions for validation using various implementations. 
 

Uses of ActionBean in net.sourceforge.stripes.action
 

Methods in net.sourceforge.stripes.action with parameters of type ActionBean
 RedirectResolution RedirectResolution.flash(ActionBean bean)
          Causes the ActionBean supplied to be added to the Flash scope and made available during the next request cycle.
 

Constructor parameters in net.sourceforge.stripes.action with type arguments of type ActionBean
ForwardResolution(Class<? extends ActionBean> beanType)
          Constructs a ForwardResolution that will forward to the URL appropriate for the ActionBean supplied.
ForwardResolution(Class<? extends ActionBean> beanType, String event)
          Constructs a ForwardResolution that will forward to the URL appropriate for the ActionBean supplied.
OnwardResolution(Class<? extends ActionBean> beanType)
          Constructor that will extract the url binding for the ActionBean class supplied and use that as the path for the resolution.
OnwardResolution(Class<? extends ActionBean> beanType, String event)
          Constructor that will extract the url binding for the ActionBean class supplied and use that as the path for the resolution and adds a parameter to ensure that the specified event is invoked.
RedirectResolution(Class<? extends ActionBean> beanType)
          Constructs a RedirectResolution that will redirect to the URL appropriate for the ActionBean supplied.
RedirectResolution(Class<? extends ActionBean> beanType, String event)
          Constructs a RedirectResolution that will redirect to the URL appropriate for the ActionBean supplied.
 

Uses of ActionBean in net.sourceforge.stripes.controller
 

Classes in net.sourceforge.stripes.controller that implement ActionBean
 class DefaultViewActionBean
          A special purpose ActionBean that is used by the NameBasedActionResolver when a valid ActionBean cannot be found for a URL.
 

Fields in net.sourceforge.stripes.controller with type parameters of type ActionBean
protected  Class<? extends ActionBean> UrlBindingParameter.beanClass
           
protected  Class<? extends ActionBean> UrlBinding.beanType
           
 

Methods in net.sourceforge.stripes.controller that return ActionBean
 ActionBean ExecutionContext.getActionBean()
          Retrieves the ActionBean instance that is associated with the current request.
 ActionBean ActionResolver.getActionBean(ActionBeanContext context)
          Resolves the Class, implementing ActionBean, that should be used to handle the request.
 ActionBean AnnotatedClassActionResolver.getActionBean(ActionBeanContext context)
          Gets the logical name of the ActionBean that should handle the request.
 ActionBean ActionResolver.getActionBean(ActionBeanContext context, String path)
          Returns the ActionBean class that responds to the path provided.
 ActionBean AnnotatedClassActionResolver.getActionBean(ActionBeanContext context, String path)
          Returns the ActionBean class that is bound to the UrlBinding supplied.
 ActionBean NameBasedActionResolver.getActionBean(ActionBeanContext context, String urlBinding)
          Overridden to trap the exception that is thrown when a URL cannot be mapped to an ActionBean and then attempt to construct a dummy ActionBean that will forward the user to an appropriate view.
protected  ActionBean NameBasedActionResolver.handleActionBeanNotFound(ActionBeanContext context, String urlBinding)
          Invoked when no appropriate ActionBean can be located.
protected  ActionBean AnnotatedClassActionResolver.makeNewActionBean(Class<? extends ActionBean> type, ActionBeanContext context)
          Helper method to construct and return a new ActionBean instance.
 

Methods in net.sourceforge.stripes.controller that return types with arguments of type ActionBean
protected  Set<Class<? extends ActionBean>> AnnotatedClassActionResolver.findClasses()
          Helper method to find implementations of ActionBean in the packages specified in Configuration using the ResolverUtil class.
 Collection<Class<? extends ActionBean>> ActionResolver.getActionBeanClasses()
          Get all the classes implementing ActionBean that are recognized by this ActionResolver.
 Collection<Class<? extends ActionBean>> AnnotatedClassActionResolver.getActionBeanClasses()
          Get all the classes implementing ActionBean that are recognized by this ActionResolver.
 Collection<Class<? extends ActionBean>> UrlBindingFactory.getActionBeanClasses()
          Get all the classes implementing ActionBean
protected  Stack<ActionBean> DispatcherServlet.getActionBeanStack(HttpServletRequest request, boolean create)
          Fetches, and lazily creates if required, a Stack in the request to store ActionBeans should the current request involve forwards or includes to other ActionBeans.
 Class<? extends ActionBean> ActionResolver.getActionBeanType(String path)
          Fetches the Class representing the type of ActionBean that has been bound to the URL contained within the path supplied.
 Class<? extends ActionBean> AnnotatedClassActionResolver.getActionBeanType(String path)
          Fetches the Class representing the type of ActionBean that would respond were a request made with the path specified.
 Class<? extends ActionBean> UrlBindingParameter.getBeanClass()
          Get the ActionBean class to which the UrlBinding applies.
 Class<? extends ActionBean> UrlBinding.getBeanType()
          Get the ActionBean class to which this binding applies.
 HashMap<String,Class<? extends ActionBean>> UrlBindingFactory.getPathMap()
          Get all the ActionBeans classes that have been found.
 

Methods in net.sourceforge.stripes.controller with parameters of type ActionBean
protected  void AnnotatedClassActionResolver.assertGetContextWorks(ActionBean bean)
          Since many down stream parts of Stripes rely on the ActionBean properly returning the context it is given, we'll just test it up front.
 ValidationErrors ActionBeanPropertyBinder.bind(ActionBean bean, ActionBeanContext context, boolean validate)
          Populates all the properties in the request which have a matching property in the target bean.
 ValidationErrors DefaultActionBeanPropertyBinder.bind(ActionBean bean, ActionBeanContext context, boolean validate)
           Loops through the parameters contained in the request and attempts to bind each one to the supplied ActionBean.
 void ActionBeanPropertyBinder.bind(ActionBean bean, String propertyName, Object propertyValue)
          Bind an individual property with the name specified to the bean supplied.
 void DefaultActionBeanPropertyBinder.bind(ActionBean bean, String propertyName, Object propertyValue)
          Attempt to set the named property on the target bean.
protected  void DefaultActionBeanPropertyBinder.bindMissingValuesAsNull(ActionBean bean, ActionBeanContext context)
          Uses a hidden field to determine what (if any) fields were present in the form but did not get submitted to the server.
protected  void DefaultActionBeanPropertyBinder.bindNonNullValue(ActionBean bean, PropertyExpressionEvaluation propertyEvaluation, List<Object> valueOrValues, Class targetType, Class scalarType)
          Internal helper method to bind one or more values to a single property on an ActionBean.
protected  void DefaultActionBeanPropertyBinder.bindNullValue(ActionBean bean, String property, Class<?> type)
          Internal helper method that determines what to do when no value was supplied for a given form field (but the field was present on the page).
protected  List<Object> DefaultActionBeanPropertyBinder.convert(ActionBean bean, ParameterName propertyName, String[] values, Class<?> declaredType, Class<?> scalarType, ValidationMetadata validationInfo, List<ValidationError> errors)
           Converts the String[] of values for a given parameter in the HttpServletRequest into the desired type of Object.
protected  void DefaultActionBeanPropertyBinder.doExpressionValidation(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
          Performs validation of attribute values using a JSP EL expression if one is defined in the @Validate annotation.
protected  void DefaultActionBeanPropertyBinder.doPostConversionValidations(ActionBean bean, Map<ParameterName,List<Object>> convertedValues, ValidationErrors errors)
          Performs basic post-conversion validations on the properties of the ActionBean after they have been converted to their rich type by the type conversion system.
protected  Collection<String> DefaultActionBeanPropertyBinder.getFieldsPresentInfo(ActionBean bean)
          In a lot of cases (and specifically during wizards) the Stripes form field writes out a hidden field containing a set of field names.
protected  SortedMap<ParameterName,String[]> DefaultActionBeanPropertyBinder.getParameters(ActionBean bean)
          Converts the map of parameters in the request into a Map of ParameterName to String[].
protected  void DefaultActionBeanPropertyBinder.handlePropertyBindingError(ActionBean bean, ParameterName name, List<Object> values, Exception e, ValidationErrors errors)
          Invoked whenever an exception is thrown when attempting to bind a property to an ActionBean.
protected  Resolution BeforeAfterMethodInterceptor.invoke(ActionBean bean, Method m, LifecycleStage stage, Class<? extends Annotation> when)
          Helper method that will invoke the supplied method and manage any exceptions and returns from the object.
 void FlashScope.put(ActionBean bean)
          Stores an ActionBean into the flash scope.
 void ExecutionContext.setActionBean(ActionBean actionBean)
          Sets the ActionBean associated with the current request.
protected  void AnnotatedClassActionResolver.setActionBeanContext(ActionBean bean, ActionBeanContext context)
          Calls setContext(ActionBeanContext) with the given context only if necessary.
protected  void DefaultActionBeanPropertyBinder.validateRequiredFields(Map<ParameterName,String[]> parameters, ActionBean bean, ValidationErrors errors)
          Validates that all required fields have been submitted.
 

Method parameters in net.sourceforge.stripes.controller with type arguments of type ActionBean
protected  void AnnotatedClassActionResolver.addActionBean(Class<? extends ActionBean> clazz)
          Adds an ActionBean class to the set that this resolver can resolve.
 void UrlBindingFactory.addBinding(Class<? extends ActionBean> beanType, UrlBinding binding)
          Map an ActionBean to a URL.
static Method[] DispatcherHelper.findCustomValidationMethods(Class<? extends ActionBean> type)
          Finds and returns all methods in the ActionBean class and it's superclasses that are marked with the ValidationMethod annotation and returns them ordered by priority (and alphabetically within priorities).
protected  HttpCache HttpCacheInterceptor.getAnnotation(Method method, Class<? extends ActionBean> beanClass)
          Look for a HttpCache annotation on the method first and then on the class and its superclasses.
 UrlBinding UrlBindingFactory.getBindingPrototype(Class<? extends ActionBean> type)
          Get the UrlBinding prototype associated with the given ActionBean type.
 Method ActionResolver.getDefaultHandler(Class<? extends ActionBean> bean)
          Locates and returns the default handler method that should be invoked when no specific event is named.
 Method AnnotatedClassActionResolver.getDefaultHandler(Class<? extends ActionBean> bean)
          Returns the Method that is the default handler for events in the ActionBean class supplied.
 String ActionResolver.getEventName(Class<? extends ActionBean> bean, ActionBeanContext context)
          Determines the name of the event fired by the front end.
 String AnnotatedClassActionResolver.getEventName(Class<? extends ActionBean> bean, ActionBeanContext context)
           Try various means to determine which event is to be executed on the current ActionBean.
protected  String AnnotatedClassActionResolver.getEventNameFromEventNameParam(Class<? extends ActionBean> bean, ActionBeanContext context)
          Looks to see if there is a single non-empty parameter value for the parameter name specified by StripesConstants.URL_KEY_EVENT_NAME.
protected  String AnnotatedClassActionResolver.getEventNameFromPath(Class<? extends ActionBean> bean, ActionBeanContext context)
          Looks to see if there is extra path information beyond simply the url binding of the bean.
protected  String AnnotatedClassActionResolver.getEventNameFromRequestAttribute(Class<? extends ActionBean> bean, ActionBeanContext context)
          Checks a special request attribute to get the event name.
protected  String AnnotatedClassActionResolver.getEventNameFromRequestParams(Class<? extends ActionBean> bean, ActionBeanContext context)
          Loops through the set of known events for the ActionBean to see if the event names are present as parameter names in the request.
protected  BeforeAfterMethodInterceptor.FilterMethods BeforeAfterMethodInterceptor.getFilterMethods(Class<? extends ActionBean> beanClass)
          Gets the Before/After methods for the ActionBean.
 Method ActionResolver.getHandler(Class<? extends ActionBean> bean, String eventName)
          Resolves the Method which handles the named event.
 Method AnnotatedClassActionResolver.getHandler(Class<? extends ActionBean> bean, String eventName)
          Uses the Maps constructed earlier to locate the Method which can handle the event.
 String ActionResolver.getUrlBinding(Class<? extends ActionBean> clazz)
          Takes a class that implements ActionBean and returns the URL binding of that class.
 String AnnotatedClassActionResolver.getUrlBinding(Class<? extends ActionBean> clazz)
          Takes a class that implements ActionBean and returns the URL binding of that class.
 String NameBasedActionResolver.getUrlBinding(Class<? extends ActionBean> clazz)
          Finds or generates the URL binding for the class supplied.
protected  ActionBean AnnotatedClassActionResolver.makeNewActionBean(Class<? extends ActionBean> type, ActionBeanContext context)
          Helper method to construct and return a new ActionBean instance.
static UrlBinding UrlBindingFactory.parseUrlBinding(Class<? extends ActionBean> beanType)
          Look for a binding pattern for the given ActionBean class, specified by the UrlBinding annotation.
static UrlBinding UrlBindingFactory.parseUrlBinding(Class<? extends ActionBean> beanType, String pattern)
          Parse the binding pattern and create a UrlBinding object for the ActionBean class.
static UrlBindingParameter UrlBindingFactory.parseUrlBindingParameter(Class<? extends ActionBean> beanClass, String string)
          Parses a parameter specification into name and default value and returns a UrlBindingParameter with the corresponding name and default value properties set accordingly.
protected  void AnnotatedClassActionResolver.removeActionBean(Class<? extends ActionBean> clazz)
          Removes an ActionBean class from the set that this resolver can resolve.
 void UrlBindingFactory.removeBinding(Class<? extends ActionBean> beanType)
          Removes an ActionBean's URL binding.
 

Constructor parameters in net.sourceforge.stripes.controller with type arguments of type ActionBean
UrlBinding(Class<? extends ActionBean> beanType, String path)
          Create a new instance that takes no parameters.
UrlBinding(Class<? extends ActionBean> beanType, String path, List<Object> components)
          Create a new instance with all its members.
UrlBindingParameter(Class<? extends ActionBean> beanClass, String name, String value)
          Create a new UrlBindingParameter with the given name and value.
UrlBindingParameter(Class<? extends ActionBean> beanClass, String name, String value, String defaultValue)
          Create a new UrlBindingParameter with the given name, value and default value.
 

Uses of ActionBean in net.sourceforge.stripes.exception
 

Methods in net.sourceforge.stripes.exception that return types with arguments of type ActionBean
 Class<? extends ActionBean> UrlBindingConflictException.getTargetClass()
          Get the ActionBean class for which a URL was being generated when this exception was thrown.
 

Method parameters in net.sourceforge.stripes.exception with type arguments of type ActionBean
protected static String UrlBindingConflictException.getMessage(Class<? extends ActionBean> targetClass, String path, Collection<String> matches)
          Generate the message to pass to the superclass constructor
 

Constructor parameters in net.sourceforge.stripes.exception with type arguments of type ActionBean
ActionBeanNotFoundException(String requestedUrl, Map<String,Class<? extends ActionBean>> registeredBeans)
           
ActionBeanNotFoundException(String requestedUrl, Map<String,Class<? extends ActionBean>> registeredBeans, Throwable cause)
           
UrlBindingConflictException(Class<? extends ActionBean> targetClass, String path, Collection<String> matches)
          New exception indicating that the path does not map to a single ActionBean because it potentially matches all the URL bindings in the matches collection.
UrlBindingConflictException(String message, Class<? extends ActionBean> targetClass, String path, Collection<String> matches)
          New exception indicating that the path does not map to a single ActionBean because it potentially matches all the URL bindings in the matches collection.
 

Uses of ActionBean in net.sourceforge.stripes.localization
 

Method parameters in net.sourceforge.stripes.localization with type arguments of type ActionBean
static String LocalizationUtility.getLocalizedFieldName(String fieldName, String actionPath, Class<? extends ActionBean> beanclass, Locale locale)
          Fetches the localized name for a form field if one exists in the form field resource bundle.
 

Uses of ActionBean in net.sourceforge.stripes.mock
 

Methods in net.sourceforge.stripes.mock with type parameters of type ActionBean
<A extends ActionBean>
A
MockRoundtrip.getActionBean(Class<A> type)
          Gets the instance of the ActionBean type provided that was instantiated by Stripes to handle the request.
 

Constructor parameters in net.sourceforge.stripes.mock with type arguments of type ActionBean
MockRoundtrip(MockServletContext context, Class<? extends ActionBean> beanType)
          Preferred constructor that will manufacture a request.
MockRoundtrip(MockServletContext context, Class<? extends ActionBean> beanType, MockHttpSession session)
          Preferred constructor that will manufacture a request.
 

Uses of ActionBean in net.sourceforge.stripes.tag
 

Methods in net.sourceforge.stripes.tag that return ActionBean
 ActionBean InputTagSupport.getActionBean()
          Fetches the ActionBean associated with the form if one is present.
protected  ActionBean FormTag.getActionBean()
          Fetches the ActionBean associated with the form if one is present.
 

Methods in net.sourceforge.stripes.tag that return types with arguments of type ActionBean
protected  Class<? extends ActionBean> FormTag.getActionBeanClass()
          Lazily looks up and returns the type of action bean the form will submit to.
protected  Class<? extends ActionBean> StripesTagSupport.getActionBeanType(Object nameOrClass)
          Helper method that takes an attribute which may be either a String class name or a Class object and returns the Class representing the appropriate ActionBean.
 

Methods in net.sourceforge.stripes.tag with parameters of type ActionBean
static boolean ElFunctions.hasErrors(ActionBean actionBean, String field)
          Indicates if validation errors exist for the given field of the given ActionBean.
 

Method parameters in net.sourceforge.stripes.tag with type arguments of type ActionBean
protected  boolean WizardFieldsTag.isEventName(Class<? extends ActionBean> beanType, String name)
          Returns true if name is the name of an event handled by ActionBeans of type beanType.
 

Uses of ActionBean in net.sourceforge.stripes.util
 

Constructor parameters in net.sourceforge.stripes.util with type arguments of type ActionBean
UrlBuilder(Locale locale, Class<? extends ActionBean> beanType, boolean isForPage)
          Constructs a UrlBuilder that references an ActionBean.
 

Uses of ActionBean in net.sourceforge.stripes.validation
 

Methods in net.sourceforge.stripes.validation that return types with arguments of type ActionBean
 Class<? extends ActionBean> ValidationError.getBeanclass()
          Returns the class of the ActionBean associated to the request.
 Class<? extends ActionBean> SimpleError.getBeanclass()
          Returns the class of the ActionBean associated to the request.
 

Method parameters in net.sourceforge.stripes.validation with type arguments of type ActionBean
 void ValidationError.setBeanclass(Class<? extends ActionBean> clazz)
          Provides the message with access to the class of the ActionBean that is bound to the current request.
 void SimpleError.setBeanclass(Class<? extends ActionBean> beanclass)
          Sets the class of the ActionBean associated to the request.
 

Uses of ActionBean in net.sourceforge.stripes.validation.expression
 

Methods in net.sourceforge.stripes.validation.expression with parameters of type ActionBean
 void ExpressionExecutorSupport.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
           
 void ExpressionExecutor.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
          Performs validation of an ActionBean property using the expression contained within the validation metadata.
static void ExpressionValidator.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
          Run expression validation on the bean property provided with the values provided.
 void Jsp21ExpressionExecutor.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
           
 

Constructors in net.sourceforge.stripes.validation.expression with parameters of type ActionBean
Jsp21ExpressionExecutor.StripesELContext(ActionBean bean)
          Constructs a new instance using the ActionBean provided as the source for most property resolutions.
 



? Copyright 2005-2006, Stripes Development Team.