Package org.joinfaces.test.mock
Class MockFaceletContext
- java.lang.Object
- 
- javax.el.ELContext
- 
- javax.faces.view.facelets.FaceletContext
- 
- org.joinfaces.test.mock.MockFaceletContext
 
 
 
- 
 public class MockFaceletContext extends FaceletContext Facelet Context Mock.
- 
- 
Field Summary- 
Fields inherited from class javax.faces.view.facelets.FaceletContextFACELET_CONTEXT_KEY
 
- 
 - 
Constructor SummaryConstructors Constructor Description MockFaceletContext()MockFaceletContext(FacesContext facesContext)MockFaceletContext(FacesContext facesContext, Map<String,Object> attributes)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgenerateUniqueId(String base)ObjectgetAttribute(String name)Map<String,Object>getAttributes()ELResolvergetELResolver()ExpressionFactorygetExpressionFactory()FacesContextgetFacesContext()FunctionMappergetFunctionMapper()VariableMappergetVariableMapper()voidincludeFacelet(UIComponent parent, String relativePath)voidincludeFacelet(UIComponent parent, URL absolutePath)voidsetAttribute(String name, Object value)voidsetFunctionMapper(FunctionMapper fnMapper)voidsetVariableMapper(VariableMapper varMapper)- 
Methods inherited from class javax.el.ELContextaddEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, putContext, setLocale, setPropertyResolved, setPropertyResolved
 
- 
 
- 
- 
- 
Constructor Detail- 
MockFaceletContextpublic MockFaceletContext(FacesContext facesContext) 
 - 
MockFaceletContextpublic MockFaceletContext() 
 - 
MockFaceletContextpublic MockFaceletContext(FacesContext facesContext, Map<String,Object> attributes) 
 
- 
 - 
Method Detail- 
getFacesContextpublic FacesContext getFacesContext() - Specified by:
- getFacesContextin class- FaceletContext
 
 - 
generateUniqueIdpublic String generateUniqueId(String base) - Specified by:
- generateUniqueIdin class- FaceletContext
 
 - 
getExpressionFactorypublic ExpressionFactory getExpressionFactory() - Specified by:
- getExpressionFactoryin class- FaceletContext
 
 - 
setVariableMapperpublic void setVariableMapper(VariableMapper varMapper) - Specified by:
- setVariableMapperin class- FaceletContext
 
 - 
setFunctionMapperpublic void setFunctionMapper(FunctionMapper fnMapper) - Specified by:
- setFunctionMapperin class- FaceletContext
 
 - 
setAttributepublic void setAttribute(String name, Object value) - Specified by:
- setAttributein class- FaceletContext
 
 - 
getAttributepublic Object getAttribute(String name) - Specified by:
- getAttributein class- FaceletContext
 
 - 
includeFaceletpublic void includeFacelet(UIComponent parent, String relativePath) - Specified by:
- includeFaceletin class- FaceletContext
 
 - 
includeFaceletpublic void includeFacelet(UIComponent parent, URL absolutePath) - Specified by:
- includeFaceletin class- FaceletContext
 
 - 
getELResolverpublic ELResolver getELResolver() - Specified by:
- getELResolverin class- ELContext
 
 - 
getFunctionMapperpublic FunctionMapper getFunctionMapper() - Specified by:
- getFunctionMapperin class- ELContext
 
 - 
getVariableMapperpublic VariableMapper getVariableMapper() - Specified by:
- getVariableMapperin class- ELContext
 
 
- 
 
-