public class MockMyFacesFaceletViewDeclarationLanguage extends FaceletViewDeclarationLanguage
BUILDING_VIEW_METADATA, CACHED_COMPONENT_IDS, CHARACTER_ENCODING_KEY, CLEAN_TRANSIENT_BUILD_ON_RESTORE, DEFAULT_CHARACTER_ENCODING, DEFAULT_REFRESH_PERIOD, DEFAULT_REFRESH_PERIOD_PRODUCTION, FILLED_VIEW, IS_BUILDING_INITIAL_STATE_KEY_ALIAS, MARK_INITIAL_STATE_KEY, PARAM_ENCODING, PARAM_REFRESH_PERIOD_DEPRECATED, PARAM_RESOURCE_RESOLVER, PARAMS_REFRESH_PERIOD, REFRESH_TRANSIENT_BUILD_ON_PSS, REFRESHING_TRANSIENT_BUILD, REMOVING_COMPONENTS_BUILD, USING_PSS_ON_THIS_VIEW
FACELETS_VIEW_DECLARATION_LANGUAGE_ID, JSP_VIEW_DECLARATION_LANGUAGE_ID
Constructor and Description |
---|
MockMyFacesFaceletViewDeclarationLanguage(FacesContext context) |
MockMyFacesFaceletViewDeclarationLanguage(FacesContext context,
ViewDeclarationLanguageStrategy strategy) |
_publishPostBuildComponentTreeOnRestoreViewEvent, calculateResourceLibraryContracts, cleanTransientBuildOnRestore, createComponent, createView, getComponentMetadata, getFaceletFactory, getFaceletsCompilerSupport, getId, getRenderKitFactory, getStateManagementStrategy, getViewMetadata, isBuildingViewMetadata, isCleanTransientBuildOnRestore, isMarkInitialState, isRefreshingTransientBuild, isRefreshTransientBuildOnPSS, isRefreshTransientBuildOnPSSAuto, isRemovingComponentBuild, isUsingPSSOnThisView, renderView, restoreView, retargetAttachedObjects, retargetMethodExpressions, setFaceletsCompilerSupport, viewExists
activateDynamicComponentRefreshTransientBuild, dynamicComponentNeedsRefresh, getVisitContextFactory, isDynamicComponentNeedsRefresh, isDynamicComponentRefreshTransientBuildActive, isDynamicComponentRefreshTransientBuildActive, resetDynamicComponentNeedsRefreshFlag
checkNull
public MockMyFacesFaceletViewDeclarationLanguage(FacesContext context)
public MockMyFacesFaceletViewDeclarationLanguage(FacesContext context, ViewDeclarationLanguageStrategy strategy)
public void buildView(FacesContext context, UIViewRoot view) throws IOException
buildView
in class FaceletViewDeclarationLanguage
IOException
public void buildView(FacesContext context, UIViewRoot view, String xmlFile) throws IOException
IOException
public String getRenderedViewId(FacesContext context, String actionId)
getRenderedViewId
in class FaceletViewDeclarationLanguage
public String calculateViewId(FacesContext context, String viewId)
calculateViewId
in class FaceletViewDeclarationLanguage
public Compiler createCompiler(FacesContext context)
createCompiler
in class FaceletViewDeclarationLanguage
public FaceletFactory createFaceletFactory(FacesContext context, Compiler compiler)
createFaceletFactory
in class FaceletViewDeclarationLanguage
public ResponseWriter createResponseWriter(FacesContext context) throws IOException, FacesException
createResponseWriter
in class FaceletViewDeclarationLanguage
IOException
FacesException
public String getDefaultSuffix(FacesContext context) throws FacesException
getDefaultSuffix
in class FaceletViewDeclarationLanguage
FacesException
public String getResponseContentType(FacesContext context, String orig)
getResponseContentType
in class FaceletViewDeclarationLanguage
public String getResponseEncoding(FacesContext context, String orig)
getResponseEncoding
in class FaceletViewDeclarationLanguage
public void handleFaceletNotFound(FacesContext context, String viewId) throws FacesException, IOException
handleFaceletNotFound
in class FaceletViewDeclarationLanguage
FacesException
IOException
public void handleRenderException(FacesContext context, Exception e) throws IOException, javax.el.ELException, FacesException
handleRenderException
in class FaceletViewDeclarationLanguage
IOException
javax.el.ELException
FacesException
public void initialize(FacesContext context)
initialize
in class FaceletViewDeclarationLanguage
public void loadDecorators(FacesContext context, Compiler compiler)
loadDecorators
in class FaceletViewDeclarationLanguage
public void loadLibraries(FacesContext context, Compiler compiler)
loadLibraries
in class FaceletViewDeclarationLanguage
public void loadOptions(FacesContext context, Compiler compiler)
loadOptions
in class FaceletViewDeclarationLanguage
public void sendSourceNotFound(FacesContext context, String message)
sendSourceNotFound
in class FaceletViewDeclarationLanguage
public Resource getScriptComponentResource(FacesContext context, Resource componentResource)
getScriptComponentResource
in class FaceletViewDeclarationLanguage
public void setScriptComponentResource(Resource componentResource, Resource scriptResource)
componentResource
- scriptResource
- Copyright © 2020 The Apache Software Foundation. All rights reserved.