Package jakarta.faces.view
Class ViewDeclarationLanguageWrapper
java.lang.Object
jakarta.faces.view.ViewDeclarationLanguage
jakarta.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 jakarta.faces.view.ViewDeclarationLanguage
FACELETS_VIEW_DECLARATION_LANGUAGE_ID
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildView
(FacesContext context, UIViewRoot view) calculateResourceLibraryContracts
(FacesContext context, String viewId) createComponent
(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) createView
(FacesContext context, String viewId) getComponentMetadata
(FacesContext context, Resource componentResource) getId()
getScriptComponentResource
(FacesContext context, Resource componentResource) getStateManagementStrategy
(FacesContext context, String viewId) getViewMetadata
(FacesContext context, String viewId) getViews
(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options) getViews
(FacesContext facesContext, String path, ViewVisitOption... options) A class that implements this interface uses this method to return an instance of the class being wrapped.void
renderView
(FacesContext context, UIViewRoot view) 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)
-
Constructor Details
-
ViewDeclarationLanguageWrapper
Deprecated. -
ViewDeclarationLanguageWrapper
-
-
Method Details
-
buildView
- Specified by:
buildView
in classViewDeclarationLanguage
- Throws:
IOException
-
createView
- Specified by:
createView
in classViewDeclarationLanguage
-
getComponentMetadata
- Specified by:
getComponentMetadata
in classViewDeclarationLanguage
-
getScriptComponentResource
- Specified by:
getScriptComponentResource
in classViewDeclarationLanguage
-
getStateManagementStrategy
- Specified by:
getStateManagementStrategy
in classViewDeclarationLanguage
-
getViewMetadata
- Specified by:
getViewMetadata
in classViewDeclarationLanguage
-
renderView
- Specified by:
renderView
in classViewDeclarationLanguage
- Throws:
IOException
-
restoreView
- Specified by:
restoreView
in classViewDeclarationLanguage
-
retargetAttachedObjects
public void retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers) - Overrides:
retargetAttachedObjects
in classViewDeclarationLanguage
-
retargetMethodExpressions
- Overrides:
retargetMethodExpressions
in classViewDeclarationLanguage
-
getId
- Overrides:
getId
in classViewDeclarationLanguage
- Returns:
-
viewExists
- Overrides:
viewExists
in classViewDeclarationLanguage
- Returns:
-
createComponent
public UIComponent createComponent(FacesContext context, String taglibURI, String tagName, Map<String, Object> attributes) - Overrides:
createComponent
in classViewDeclarationLanguage
- Returns:
-
calculateResourceLibraryContracts
- Overrides:
calculateResourceLibraryContracts
in classViewDeclarationLanguage
- Returns:
-
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 interfaceFacesWrapper<ViewDeclarationLanguage>
- Returns:
- the instance of the class being wrapped
-
getViews
public Stream<String> getViews(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options) - Overrides:
getViews
in classViewDeclarationLanguage
- Returns:
-
getViews
- Overrides:
getViews
in classViewDeclarationLanguage
- Returns:
-