| 
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.application.ViewHandler
de.mindmatters.faces.application.ViewBuilder
de.mindmatters.faces.application.AbstractDelegatingViewBuilder
public abstract class AbstractDelegatingViewBuilder
Abstract implementation of a ViewBuilder that delegates the
 behaviour inherited from the ViewHandler to the original view handler
 of the underlying JSF implementation.
| Field Summary | 
|---|
| Fields inherited from class javax.faces.application.ViewHandler | 
|---|
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME | 
| Constructor Summary | |
|---|---|
AbstractDelegatingViewBuilder(ViewHandler delegate)
Constructor that takes the original ViewHandler. | 
|
| Method Summary | |
|---|---|
 java.util.Locale | 
calculateLocale(FacesContext context)
 | 
 java.lang.String | 
calculateRenderKitId(FacesContext context)
 | 
 UIViewRoot | 
createView(FacesContext context,
           java.lang.String viewId)
 | 
 java.lang.String | 
getActionURL(FacesContext context,
             java.lang.String viewId)
 | 
protected  ViewHandler | 
getDelegate()
 | 
 java.lang.String | 
getResourceURL(FacesContext context,
               java.lang.String path)
 | 
 void | 
renderView(FacesContext context,
           UIViewRoot viewToRender)
 | 
 UIViewRoot | 
restoreView(FacesContext context,
            java.lang.String viewId)
 | 
protected  void | 
writeStateInClient(FacesContext context)
Writes the state of a view into the response.  | 
| Methods inherited from class de.mindmatters.faces.application.ViewBuilder | 
|---|
buildView, markForTransientState, unmarkTransientState, writeState | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AbstractDelegatingViewBuilder(ViewHandler delegate)
ViewHandler.
delegate - the original ViewHandler| Method Detail | 
|---|
public final java.util.Locale calculateLocale(FacesContext context)
calculateLocale in class ViewHandlerpublic final java.lang.String calculateRenderKitId(FacesContext context)
calculateRenderKitId in class ViewHandler
public final UIViewRoot createView(FacesContext context,
                                   java.lang.String viewId)
createView in class ViewHandler
public final java.lang.String getActionURL(FacesContext context,
                                           java.lang.String viewId)
getActionURL in class ViewHandler
public final java.lang.String getResourceURL(FacesContext context,
                                             java.lang.String path)
getResourceURL in class ViewHandler
public final void renderView(FacesContext context,
                             UIViewRoot viewToRender)
                      throws java.io.IOException
renderView in class ViewHandlerjava.io.IOException
public final UIViewRoot restoreView(FacesContext context,
                                    java.lang.String viewId)
restoreView in class ViewHandlerprotected final ViewHandler getDelegate()
ViewHandler
protected final void writeStateInClient(FacesContext context)
                                 throws java.io.IOException
StateManager.writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)
writeStateInClient in class ViewBuildercontext - FacesContext for the current request
java.io.IOException - if an input/output error occursViewHandler.writeState(FacesContext)
  | 
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||