com.acciente.induction.resolver
Class ViewResolver.Resolution

java.lang.Object
  extended by com.acciente.induction.resolver.ViewResolver.Resolution
Enclosing interface:
ViewResolver

public static class ViewResolver.Resolution
extends Object

A container object containing the resolution information.

Author:
Adinath Raveendra Raj

Constructor Summary
ViewResolver.Resolution(String sClassName)
          Creates a resolution object.
ViewResolver.Resolution(String sClassName, Map oOptions)
          Creates a resolution object.
 
Method Summary
 String getClassName()
           
 Map getOptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewResolver.Resolution

public ViewResolver.Resolution(String sClassName)
Creates a resolution object.

Parameters:
sClassName - the fully qualified name of the view class

ViewResolver.Resolution

public ViewResolver.Resolution(String sClassName,
                               Map oOptions)
Creates a resolution object.

Parameters:
sClassName - the fully qualified name of the view class method name in this resolution.
oOptions - is an optional map (may be null) containing data that the resolver wishes to store as part of the resolution. The view's handler can access this data by choosing have the resolution object injected. This options maps is useful if the resolver is used to map a wide range of requests to a small number of views whose behaviour is parameterized by the options map.
Method Detail

getClassName

public String getClassName()

getOptions

public Map getOptions()


Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.