Package org.joinfaces.test.mock
Class MockFaceletContext
java.lang.Object
jakarta.el.ELContext
jakarta.faces.view.facelets.FaceletContext
org.joinfaces.test.mock.MockFaceletContext
public class MockFaceletContext
extends jakarta.faces.view.facelets.FaceletContext
Facelet Context Mock.
-
Field Summary
Fields inherited from class jakarta.faces.view.facelets.FaceletContext
FACELET_CONTEXT_KEY
-
Constructor Summary
ConstructorDescriptionMockFaceletContext
(jakarta.faces.context.FacesContext facesContext) MockFaceletContext
(jakarta.faces.context.FacesContext facesContext, Map<String, Object> attributes) -
Method Summary
Modifier and TypeMethodDescriptiongenerateUniqueId
(String base) getAttribute
(String name) jakarta.el.ELResolver
jakarta.el.ExpressionFactory
jakarta.faces.context.FacesContext
jakarta.el.FunctionMapper
jakarta.el.VariableMapper
void
includeFacelet
(jakarta.faces.component.UIComponent parent, String relativePath) void
includeFacelet
(jakarta.faces.component.UIComponent parent, URL absolutePath) void
setAttribute
(String name, Object value) void
setFunctionMapper
(jakarta.el.FunctionMapper fnMapper) void
setVariableMapper
(jakarta.el.VariableMapper varMapper) Methods inherited from class jakarta.el.ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, putContext, setLocale, setPropertyResolved, setPropertyResolved
-
Constructor Details
-
MockFaceletContext
public MockFaceletContext(jakarta.faces.context.FacesContext facesContext) -
MockFaceletContext
public MockFaceletContext() -
MockFaceletContext
-
-
Method Details
-
getFacesContext
public jakarta.faces.context.FacesContext getFacesContext()- Specified by:
getFacesContext
in classjakarta.faces.view.facelets.FaceletContext
-
generateUniqueId
- Specified by:
generateUniqueId
in classjakarta.faces.view.facelets.FaceletContext
-
getExpressionFactory
public jakarta.el.ExpressionFactory getExpressionFactory()- Specified by:
getExpressionFactory
in classjakarta.faces.view.facelets.FaceletContext
-
setVariableMapper
public void setVariableMapper(jakarta.el.VariableMapper varMapper) - Specified by:
setVariableMapper
in classjakarta.faces.view.facelets.FaceletContext
-
setFunctionMapper
public void setFunctionMapper(jakarta.el.FunctionMapper fnMapper) - Specified by:
setFunctionMapper
in classjakarta.faces.view.facelets.FaceletContext
-
setAttribute
- Specified by:
setAttribute
in classjakarta.faces.view.facelets.FaceletContext
-
getAttribute
- Specified by:
getAttribute
in classjakarta.faces.view.facelets.FaceletContext
-
includeFacelet
- Specified by:
includeFacelet
in classjakarta.faces.view.facelets.FaceletContext
-
includeFacelet
- Specified by:
includeFacelet
in classjakarta.faces.view.facelets.FaceletContext
-
getELResolver
public jakarta.el.ELResolver getELResolver()- Specified by:
getELResolver
in classjakarta.el.ELContext
-
getFunctionMapper
public jakarta.el.FunctionMapper getFunctionMapper()- Specified by:
getFunctionMapper
in classjakarta.el.ELContext
-
getVariableMapper
public jakarta.el.VariableMapper getVariableMapper()- Specified by:
getVariableMapper
in classjakarta.el.ELContext
-
getAttributes
-