public class JspViewDeclarationLanguage extends JspViewDeclarationLanguageBase
Modifier and Type | Field and Description |
---|---|
static String[] |
FACELETS_ONLY_F_TAGS
Tags that are only available on facelets and not on JSP.
|
static String[] |
FACELETS_ONLY_H_TAGS |
static Logger |
log |
FACELETS_VIEW_DECLARATION_LANGUAGE_ID, JSP_VIEW_DECLARATION_LANGUAGE_ID
Constructor and Description |
---|
JspViewDeclarationLanguage() |
JspViewDeclarationLanguage(FacesContext facesContext,
ViewDeclarationLanguageStrategy strategy,
LinkedList<String> suffixes) |
Modifier and Type | Method and Description |
---|---|
void |
buildView(FacesContext context,
UIViewRoot view) |
Stream<String> |
getViews(FacesContext facesContext,
String path,
int maxDepth,
ViewVisitOption... options) |
protected boolean |
isViewStateAlreadyEncoded(FacesContext context) |
protected void |
sendSourceNotFound(FacesContext context,
String message)
Send a source not found to the client.
|
boolean |
viewExists(FacesContext facesContext,
String viewId) |
actuallyRenderView, calculateViewId, flushBufferToWriter, getComponentMetadata, getId, getScriptComponentResource, getStateManagementStrategy, getViewMetadata, isViewBuilt, renderView, setAfterViewTagResponseWrapper, setViewBuilt, writePartialBuffer
createView, restoreView
calculateResourceLibraryContracts, createComponent, getViews, retargetAttachedObjects, retargetMethodExpressions
public static final Logger log
public static final String[] FACELETS_ONLY_F_TAGS
public static final String[] FACELETS_ONLY_H_TAGS
public JspViewDeclarationLanguage()
public JspViewDeclarationLanguage(FacesContext facesContext, ViewDeclarationLanguageStrategy strategy, LinkedList<String> suffixes)
public void buildView(FacesContext context, UIViewRoot view) throws IOException
buildView
in class JspViewDeclarationLanguageBase
IOException
protected boolean isViewStateAlreadyEncoded(FacesContext context)
isViewStateAlreadyEncoded
in class JspViewDeclarationLanguageBase
protected void sendSourceNotFound(FacesContext context, String message)
ViewDeclarationLanguageBase
sendSourceNotFound
in class ViewDeclarationLanguageBase
context
- le current FacesContextmessage
- the message associated with the errorpublic boolean viewExists(FacesContext facesContext, String viewId)
viewExists
in class ViewDeclarationLanguage
public Stream<String> getViews(FacesContext facesContext, String path, int maxDepth, ViewVisitOption... options)
getViews
in class ViewDeclarationLanguage
Copyright © 2021 The Apache Software Foundation. All rights reserved.