Package org.apache.myfaces.view
Class ViewDeclarationLanguageBase
java.lang.Object
jakarta.faces.view.ViewDeclarationLanguage
org.apache.myfaces.view.ViewDeclarationLanguageBase
- Direct Known Subclasses:
- FaceletViewDeclarationLanguageBase
- Since:
- 2.0
- 
Field SummaryFields inherited from class jakarta.faces.view.ViewDeclarationLanguageFACELETS_VIEW_DECLARATION_LANGUAGE_ID
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract StringcalculateViewId(FacesContext context, String viewId) Calculates the effective view identifier for the specified raw view identifier.createView(FacesContext context, String viewId) Process the specification required algorithm that is generic to all PDL.protected RenderKitFactoryrestoreView(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
- 
Constructor Details- 
ViewDeclarationLanguageBasepublic ViewDeclarationLanguageBase()
 
- 
- 
Method Details- 
createViewProcess the specification required algorithm that is generic to all PDL.- Specified by:
- createViewin class- ViewDeclarationLanguage
- Parameters:
- context-
- viewId-
 
- 
restoreView- Specified by:
- restoreViewin class- ViewDeclarationLanguage
 
- 
calculateViewIdCalculates 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
 
- 
sendSourceNotFoundSend 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 --> Faces 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
 
- 
getRenderKitFactory
 
-