org.jboss.seam.faces.view
Class SeamViewDeclarationLanguage

java.lang.Object
  extended by javax.faces.view.ViewDeclarationLanguage
      extended by org.jboss.seam.faces.view.SeamViewDeclarationLanguage

public class SeamViewDeclarationLanguage
extends ViewDeclarationLanguage

Wrap the built-in ViewDeclarationLanguage implementation for the purpose of wrapping the ViewMetadata implementation in SeamViewMetadata.

Author:
Dan Allen
See Also:
SeamViewMetadata

Constructor Summary
SeamViewDeclarationLanguage(ViewDeclarationLanguage delegate)
           
 
Method Summary
 void buildView(FacesContext context, UIViewRoot root)
           
 UIViewRoot createView(FacesContext context, String viewId)
           
 BeanInfo getComponentMetadata(FacesContext context, Resource componentResource)
           
 Resource getScriptComponentResource(FacesContext context, Resource componentResource)
           
 StateManagementStrategy getStateManagementStrategy(FacesContext context, String viewId)
           
 ViewMetadata getViewMetadata(FacesContext context, String viewId)
          If non-null, wrap the ViewMetadata returned by the delegate in a new instance of SeamViewMetadata.
 void renderView(FacesContext context, UIViewRoot view)
           
 UIViewRoot restoreView(FacesContext context, String viewId)
           
 
Methods inherited from class javax.faces.view.ViewDeclarationLanguage
retargetAttachedObjects, retargetMethodExpressions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeamViewDeclarationLanguage

public SeamViewDeclarationLanguage(ViewDeclarationLanguage delegate)
Method Detail

getComponentMetadata

public BeanInfo getComponentMetadata(FacesContext context,
                                     Resource componentResource)
Specified by:
getComponentMetadata in class ViewDeclarationLanguage

getViewMetadata

public ViewMetadata getViewMetadata(FacesContext context,
                                    String viewId)
If non-null, wrap the ViewMetadata returned by the delegate in a new instance of SeamViewMetadata.

Specified by:
getViewMetadata in class ViewDeclarationLanguage

getScriptComponentResource

public Resource getScriptComponentResource(FacesContext context,
                                           Resource componentResource)
Specified by:
getScriptComponentResource in class ViewDeclarationLanguage

createView

public UIViewRoot createView(FacesContext context,
                             String viewId)
Specified by:
createView in class ViewDeclarationLanguage

restoreView

public UIViewRoot restoreView(FacesContext context,
                              String viewId)
Specified by:
restoreView in class ViewDeclarationLanguage

buildView

public void buildView(FacesContext context,
                      UIViewRoot root)
               throws IOException
Specified by:
buildView in class ViewDeclarationLanguage
Throws:
IOException

renderView

public void renderView(FacesContext context,
                       UIViewRoot view)
                throws IOException
Specified by:
renderView in class ViewDeclarationLanguage
Throws:
IOException

getStateManagementStrategy

public StateManagementStrategy getStateManagementStrategy(FacesContext context,
                                                          String viewId)
Specified by:
getStateManagementStrategy in class ViewDeclarationLanguage


Copyright © 2011 Seam Framework. All Rights Reserved.