public abstract class JspViewDeclarationLanguageBase extends ViewDeclarationLanguageBase
FACELETS_VIEW_DECLARATION_LANGUAGE_ID, JSP_VIEW_DECLARATION_LANGUAGE_ID| Constructor and Description |
|---|
JspViewDeclarationLanguageBase() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
actuallyRenderView(FacesContext facesContext,
UIViewRoot viewToRender)
Render the view now - properly setting and resetting the response writer
[MF] Modified to return a boolean so subclass that delegates can determine
whether the rendering succeeded or not.
|
void |
buildView(FacesContext context,
UIViewRoot view) |
protected String |
calculateViewId(FacesContext context,
String viewId)
Calculates the effective view identifier for the specified raw view identifier.
|
protected void |
flushBufferToWriter(StringBuffer buff,
Writer writer) |
BeanInfo |
getComponentMetadata(FacesContext context,
Resource componentResource) |
String |
getId() |
Resource |
getScriptComponentResource(FacesContext context,
Resource componentResource) |
StateManagementStrategy |
getStateManagementStrategy(FacesContext context,
String viewId) |
ViewMetadata |
getViewMetadata(FacesContext context,
String viewId) |
protected boolean |
isViewBuilt(FacesContext facesContext,
UIViewRoot view)
Returns true if the given UIViewRoot has already been built via VDL.buildView().
|
protected boolean |
isViewStateAlreadyEncoded(FacesContext context) |
void |
renderView(FacesContext context,
UIViewRoot view) |
protected void |
setAfterViewTagResponseWrapper(ExternalContext ec,
ViewResponseWrapper wrapper) |
protected void |
setViewBuilt(FacesContext facesContext,
UIViewRoot view)
Saves a flag in the attribute map of the FacesContext to indicate
that the given UIViewRoot was already built with VDL.buildView().
|
protected void |
writePartialBuffer(StringBuffer contentBuffer,
int beginIndex,
int endIndex,
Writer writer) |
checkNull, createView, restoreView, sendSourceNotFoundcalculateResourceLibraryContracts, createComponent, getViews, getViews, retargetAttachedObjects, retargetMethodExpressions, viewExistspublic String getId()
getId in class ViewDeclarationLanguagepublic void buildView(FacesContext context, UIViewRoot view) throws IOException
buildView in class ViewDeclarationLanguageIOExceptionpublic BeanInfo getComponentMetadata(FacesContext context, Resource componentResource)
getComponentMetadata in class ViewDeclarationLanguagepublic Resource getScriptComponentResource(FacesContext context, Resource componentResource)
getScriptComponentResource in class ViewDeclarationLanguagepublic void renderView(FacesContext context, UIViewRoot view) throws IOException
renderView in class ViewDeclarationLanguageIOExceptionpublic ViewMetadata getViewMetadata(FacesContext context, String viewId)
getViewMetadata in class ViewDeclarationLanguageprotected boolean isViewStateAlreadyEncoded(FacesContext context)
protected void setAfterViewTagResponseWrapper(ExternalContext ec, ViewResponseWrapper wrapper)
protected void flushBufferToWriter(StringBuffer buff, Writer writer) throws IOException
IOExceptionprotected void writePartialBuffer(StringBuffer contentBuffer, int beginIndex, int endIndex, Writer writer) throws IOException
IOExceptionprotected boolean actuallyRenderView(FacesContext facesContext, UIViewRoot viewToRender) throws IOException
IOExceptionpublic StateManagementStrategy getStateManagementStrategy(FacesContext context, String viewId)
getStateManagementStrategy in class ViewDeclarationLanguageprotected String calculateViewId(FacesContext context, String viewId)
ViewDeclarationLanguageBasecalculateViewId in class ViewDeclarationLanguageBasecontext - le current FacesContextviewId - the raw view identifierprotected boolean isViewBuilt(FacesContext facesContext, UIViewRoot view)
facesContext - view - protected void setViewBuilt(FacesContext facesContext, UIViewRoot view)
facesContext - view - Copyright © 2025 The Apache Software Foundation. All rights reserved.