javax.faces.view
Class ViewDeclarationLanguageWrapper

java.lang.Object
  extended by javax.faces.view.ViewDeclarationLanguage
      extended by javax.faces.view.ViewDeclarationLanguageWrapper
All Implemented Interfaces:
FacesWrapper<ViewDeclarationLanguage>

public abstract class ViewDeclarationLanguageWrapper
extends ViewDeclarationLanguage
implements FacesWrapper<ViewDeclarationLanguage>

Since:
2.2

Field Summary
 
Fields inherited from class javax.faces.view.ViewDeclarationLanguage
FACELETS_VIEW_DECLARATION_LANGUAGE_ID, JSP_VIEW_DECLARATION_LANGUAGE_ID
 
Constructor Summary
ViewDeclarationLanguageWrapper()
           
 
Method Summary
 void buildView(FacesContext context, UIViewRoot view)
           
 List<String> calculateResourceLibraryContracts(FacesContext context, String viewId)
           
 UIComponent createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)
           
 UIViewRoot createView(FacesContext context, String viewId)
           
 BeanInfo getComponentMetadata(FacesContext context, Resource componentResource)
           
 String getId()
           
 Resource getScriptComponentResource(FacesContext context, Resource componentResource)
           
 StateManagementStrategy getStateManagementStrategy(FacesContext context, String viewId)
           
 ViewMetadata getViewMetadata(FacesContext context, String viewId)
           
abstract  ViewDeclarationLanguage getWrapped()
          A class that implements this interface uses this method to return an instance of the class being wrapped.
 void renderView(FacesContext context, UIViewRoot view)
           
 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
 

Constructor Detail

ViewDeclarationLanguageWrapper

public ViewDeclarationLanguageWrapper()
Method Detail

buildView

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

createView

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

getComponentMetadata

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

getScriptComponentResource

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

getStateManagementStrategy

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

getViewMetadata

public ViewMetadata getViewMetadata(FacesContext context,
                                    String viewId)
Specified by:
getViewMetadata in class ViewDeclarationLanguage

renderView

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

restoreView

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

retargetAttachedObjects

public void retargetAttachedObjects(FacesContext context,
                                    UIComponent topLevelComponent,
                                    List<AttachedObjectHandler> handlers)
Overrides:
retargetAttachedObjects in class ViewDeclarationLanguage

retargetMethodExpressions

public void retargetMethodExpressions(FacesContext context,
                                      UIComponent topLevelComponent)
Overrides:
retargetMethodExpressions in class ViewDeclarationLanguage

getId

public String getId()
Overrides:
getId in class ViewDeclarationLanguage
Returns:

viewExists

public boolean viewExists(FacesContext facesContext,
                          String viewId)
Overrides:
viewExists in class ViewDeclarationLanguage
Returns:

createComponent

public UIComponent createComponent(FacesContext context,
                                   String taglibURI,
                                   String tagName,
                                   Map<String,Object> attributes)
Overrides:
createComponent in class ViewDeclarationLanguage
Returns:

calculateResourceLibraryContracts

public List<String> calculateResourceLibraryContracts(FacesContext context,
                                                      String viewId)
Overrides:
calculateResourceLibraryContracts in class ViewDeclarationLanguage
Returns:

getWrapped

public abstract ViewDeclarationLanguage getWrapped()
Description copied from interface: FacesWrapper
A class that implements this interface uses this method to return an instance of the class being wrapped.

Specified by:
getWrapped in interface FacesWrapper<ViewDeclarationLanguage>
Returns:
the instance of the class being wrapped


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