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
Constructors Constructor Description ViewDeclarationLanguageWrapper()
Deprecated.ViewDeclarationLanguageWrapper(ViewDeclarationLanguage delegate)
-
Method Summary
-
-
-
Constructor Detail
-
ViewDeclarationLanguageWrapper
@Deprecated public ViewDeclarationLanguageWrapper()
Deprecated.
-
ViewDeclarationLanguageWrapper
public ViewDeclarationLanguageWrapper(ViewDeclarationLanguage delegate)
-
-
Method Detail
-
buildView
public void buildView(FacesContext context, UIViewRoot view) throws IOException
- Specified by:
buildView
in classViewDeclarationLanguage
- Throws:
IOException
-
createView
public UIViewRoot createView(FacesContext context, String viewId)
- Specified by:
createView
in classViewDeclarationLanguage
-
getComponentMetadata
public BeanInfo getComponentMetadata(FacesContext context, Resource componentResource)
- Specified by:
getComponentMetadata
in classViewDeclarationLanguage
-
getScriptComponentResource
public Resource getScriptComponentResource(FacesContext context, Resource componentResource)
- Specified by:
getScriptComponentResource
in classViewDeclarationLanguage
-
getStateManagementStrategy
public StateManagementStrategy getStateManagementStrategy(FacesContext context, String viewId)
- Specified by:
getStateManagementStrategy
in classViewDeclarationLanguage
-
getViewMetadata
public ViewMetadata getViewMetadata(FacesContext context, String viewId)
- Specified by:
getViewMetadata
in classViewDeclarationLanguage
-
renderView
public void renderView(FacesContext context, UIViewRoot view) throws IOException
- Specified by:
renderView
in classViewDeclarationLanguage
- Throws:
IOException
-
restoreView
public UIViewRoot restoreView(FacesContext context, String viewId)
- Specified by:
restoreView
in classViewDeclarationLanguage
-
retargetAttachedObjects
public void retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)
- Overrides:
retargetAttachedObjects
in classViewDeclarationLanguage
-
retargetMethodExpressions
public void retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)
- Overrides:
retargetMethodExpressions
in classViewDeclarationLanguage
-
getId
public String getId()
- Overrides:
getId
in classViewDeclarationLanguage
- Returns:
-
viewExists
public boolean viewExists(FacesContext facesContext, String viewId)
- 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
public List<String> calculateResourceLibraryContracts(FacesContext context, String viewId)
- Overrides:
calculateResourceLibraryContracts
in classViewDeclarationLanguage
- Returns:
-
getWrapped
public 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 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
public Stream<String> getViews(FacesContext facesContext, String path, ViewVisitOption... options)
- Overrides:
getViews
in classViewDeclarationLanguage
- Returns:
-
-