org.jboss.seam.faces.view
Class SeamViewDeclarationLanguage
java.lang.Object
javax.faces.view.ViewDeclarationLanguage
org.jboss.seam.faces.view.SeamViewDeclarationLanguage
public class SeamViewDeclarationLanguage
- extends javax.faces.view.ViewDeclarationLanguage
Wrap the built-in ViewDeclarationLanguage implementation for the purpose of wrapping the ViewMetadata
implementation in SeamViewMetadata.
- Author:
- Dan Allen
- See Also:
SeamViewMetadata
|
Method Summary |
void |
buildView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot root)
|
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext context,
String viewId)
|
BeanInfo |
getComponentMetadata(javax.faces.context.FacesContext context,
javax.faces.application.Resource componentResource)
|
javax.faces.application.Resource |
getScriptComponentResource(javax.faces.context.FacesContext context,
javax.faces.application.Resource componentResource)
|
javax.faces.view.StateManagementStrategy |
getStateManagementStrategy(javax.faces.context.FacesContext context,
String viewId)
|
javax.faces.view.ViewMetadata |
getViewMetadata(javax.faces.context.FacesContext context,
String viewId)
If non-null, wrap the ViewMetadata returned by the delegate in a new instance of SeamViewMetadata. |
void |
renderView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot view)
|
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext context,
String viewId)
|
void |
retargetAttachedObjects(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent topLevelComponent,
List<javax.faces.view.AttachedObjectHandler> handlers)
|
void |
retargetMethodExpressions(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent topLevelComponent)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeamViewDeclarationLanguage
public SeamViewDeclarationLanguage(javax.faces.view.ViewDeclarationLanguage delegate)
getComponentMetadata
public BeanInfo getComponentMetadata(javax.faces.context.FacesContext context,
javax.faces.application.Resource componentResource)
- Specified by:
getComponentMetadata in class javax.faces.view.ViewDeclarationLanguage
getViewMetadata
public javax.faces.view.ViewMetadata getViewMetadata(javax.faces.context.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 javax.faces.view.ViewDeclarationLanguage
getScriptComponentResource
public javax.faces.application.Resource getScriptComponentResource(javax.faces.context.FacesContext context,
javax.faces.application.Resource componentResource)
- Specified by:
getScriptComponentResource in class javax.faces.view.ViewDeclarationLanguage
createView
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context,
String viewId)
- Specified by:
createView in class javax.faces.view.ViewDeclarationLanguage
restoreView
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context,
String viewId)
- Specified by:
restoreView in class javax.faces.view.ViewDeclarationLanguage
buildView
public void buildView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot root)
throws IOException
- Specified by:
buildView in class javax.faces.view.ViewDeclarationLanguage
- Throws:
IOException
renderView
public void renderView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot view)
throws IOException
- Specified by:
renderView in class javax.faces.view.ViewDeclarationLanguage
- Throws:
IOException
getStateManagementStrategy
public javax.faces.view.StateManagementStrategy getStateManagementStrategy(javax.faces.context.FacesContext context,
String viewId)
- Specified by:
getStateManagementStrategy in class javax.faces.view.ViewDeclarationLanguage
retargetAttachedObjects
public void retargetAttachedObjects(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent topLevelComponent,
List<javax.faces.view.AttachedObjectHandler> handlers)
- Overrides:
retargetAttachedObjects in class javax.faces.view.ViewDeclarationLanguage
retargetMethodExpressions
public void retargetMethodExpressions(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent topLevelComponent)
- Overrides:
retargetMethodExpressions in class javax.faces.view.ViewDeclarationLanguage
Copyright © 2009-2011 Seam Framework. All Rights Reserved.