Package org.apache.myfaces.view
Class ViewDeclarationLanguageBase
- java.lang.Object
- 
- jakarta.faces.view.ViewDeclarationLanguage
- 
- org.apache.myfaces.view.ViewDeclarationLanguageBase
 
 
- 
- Direct Known Subclasses:
- FaceletViewDeclarationLanguageBase
 
 public abstract class ViewDeclarationLanguageBase extends ViewDeclarationLanguage - Since:
- 2.0
 
- 
- 
Field Summary- 
Fields inherited from class jakarta.faces.view.ViewDeclarationLanguageFACELETS_VIEW_DECLARATION_LANGUAGE_ID
 
- 
 - 
Constructor SummaryConstructors Constructor Description ViewDeclarationLanguageBase()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StringcalculateViewId(FacesContext context, String viewId)Calculates the effective view identifier for the specified raw view identifier.UIViewRootcreateView(FacesContext context, String viewId)Process the specification required algorithm that is generic to all PDL.protected RenderKitFactorygetRenderKitFactory()UIViewRootrestoreView(FacesContext context, String viewId)protected abstract voidsendSourceNotFound(FacesContext context, String message)Send a source not found to the client.- 
Methods inherited from class jakarta.faces.view.ViewDeclarationLanguagebuildView, calculateResourceLibraryContracts, createComponent, getComponentMetadata, getId, getScriptComponentResource, getStateManagementStrategy, getViewMetadata, getViews, getViews, renderView, retargetAttachedObjects, retargetMethodExpressions, viewExists
 
- 
 
- 
- 
- 
Method Detail- 
createViewpublic UIViewRoot createView(FacesContext context, String viewId) Process the specification required algorithm that is generic to all PDL.- Specified by:
- createViewin class- ViewDeclarationLanguage
- Parameters:
- context-
- viewId-
 
 - 
restoreViewpublic UIViewRoot restoreView(FacesContext context, String viewId) - Specified by:
- restoreViewin class- ViewDeclarationLanguage
 
 - 
calculateViewIdprotected abstract String calculateViewId(FacesContext context, String viewId) Calculates the effective view identifier for the specified raw view identifier.- Parameters:
- context- le current FacesContext
- viewId- the raw view identifier
- Returns:
- the effective view identifier
 
 - 
sendSourceNotFoundprotected abstract void sendSourceNotFound(FacesContext context, String message) Send a source not found to the client. Although it can be considered ok in JSP mode, I think it's pretty lame to have this kind of requirement at VDL level considering VDL represents the page --> JSF tree link, not the transport layer required to send a SC_NOT_FOUND.- Parameters:
- context- le current FacesContext
- message- the message associated with the error
 
 - 
getRenderKitFactoryprotected RenderKitFactory getRenderKitFactory() 
 
- 
 
-