javax.faces.view
Class ViewDeclarationLanguage

java.lang.Object
  extended by javax.faces.view.ViewDeclarationLanguage

public abstract class ViewDeclarationLanguage
extends Object

Since:
2.0
Version:
$Revision: 1188598 $ $Date: 2011-10-25 05:46:21 -0500 (Tue, 25 Oct 2011) $
Author:
Simon Lessard (latest modification by $Author: struberg $)

Field Summary
static String FACELETS_VIEW_DECLARATION_LANGUAGE_ID
           
static String JSP_VIEW_DECLARATION_LANGUAGE_ID
           
 
Constructor Summary
ViewDeclarationLanguage()
           
 
Method Summary
abstract  void buildView(FacesContext context, UIViewRoot view)
           
abstract  UIViewRoot createView(FacesContext context, String viewId)
           
abstract  BeanInfo getComponentMetadata(FacesContext context, Resource componentResource)
           
 String getId()
           
abstract  Resource getScriptComponentResource(FacesContext context, Resource componentResource)
           
abstract  StateManagementStrategy getStateManagementStrategy(FacesContext context, String viewId)
           
abstract  ViewMetadata getViewMetadata(FacesContext context, String viewId)
           
abstract  void renderView(FacesContext context, UIViewRoot view)
           
abstract  UIViewRoot restoreView(FacesContext context, String viewId)
           
 void retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)
           
 void retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)
           
 boolean viewExists(FacesContext facesContext, String viewId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JSP_VIEW_DECLARATION_LANGUAGE_ID

public static final String JSP_VIEW_DECLARATION_LANGUAGE_ID
Since:
2.1
See Also:
Constant Field Values

FACELETS_VIEW_DECLARATION_LANGUAGE_ID

public static final String FACELETS_VIEW_DECLARATION_LANGUAGE_ID
Since:
2.1
See Also:
Constant Field Values
Constructor Detail

ViewDeclarationLanguage

public ViewDeclarationLanguage()
Method Detail

buildView

public abstract void buildView(FacesContext context,
                               UIViewRoot view)
                        throws IOException
Throws:
IOException

createView

public abstract UIViewRoot createView(FacesContext context,
                                      String viewId)

getComponentMetadata

public abstract BeanInfo getComponentMetadata(FacesContext context,
                                              Resource componentResource)

getScriptComponentResource

public abstract Resource getScriptComponentResource(FacesContext context,
                                                    Resource componentResource)

getStateManagementStrategy

public abstract StateManagementStrategy getStateManagementStrategy(FacesContext context,
                                                                   String viewId)

getViewMetadata

public abstract ViewMetadata getViewMetadata(FacesContext context,
                                             String viewId)

renderView

public abstract void renderView(FacesContext context,
                                UIViewRoot view)
                         throws IOException
Throws:
IOException

restoreView

public abstract UIViewRoot restoreView(FacesContext context,
                                       String viewId)

retargetAttachedObjects

public void retargetAttachedObjects(FacesContext context,
                                    UIComponent topLevelComponent,
                                    List<AttachedObjectHandler> handlers)

retargetMethodExpressions

public void retargetMethodExpressions(FacesContext context,
                                      UIComponent topLevelComponent)

getId

public String getId()
Returns:
Since:
2.1

viewExists

public boolean viewExists(FacesContext facesContext,
                          String viewId)
Parameters:
facesContext -
viewId -
Returns:
Since:
2.1


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.