public class MockFaceletContext
extends javax.faces.view.facelets.FaceletContext
Constructor and Description |
---|
MockFaceletContext(javax.faces.context.FacesContext facesContext) |
Modifier and Type | Method and Description |
---|---|
String |
generateUniqueId(String base) |
Object |
getAttribute(String name) |
javax.el.ELResolver |
getELResolver() |
javax.el.ExpressionFactory |
getExpressionFactory() |
javax.faces.context.FacesContext |
getFacesContext() |
javax.el.FunctionMapper |
getFunctionMapper() |
javax.el.VariableMapper |
getVariableMapper() |
void |
includeFacelet(javax.faces.component.UIComponent parent,
String relativePath) |
void |
includeFacelet(javax.faces.component.UIComponent parent,
URL absolutePath) |
void |
setAttribute(String name,
Object value) |
void |
setFunctionMapper(javax.el.FunctionMapper fnMapper) |
void |
setVariableMapper(javax.el.VariableMapper varMapper) |
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, putContext, setLocale, setPropertyResolved, setPropertyResolved
public MockFaceletContext(javax.faces.context.FacesContext facesContext)
public javax.faces.context.FacesContext getFacesContext()
getFacesContext
in class javax.faces.view.facelets.FaceletContext
public String generateUniqueId(String base)
generateUniqueId
in class javax.faces.view.facelets.FaceletContext
public javax.el.ExpressionFactory getExpressionFactory()
getExpressionFactory
in class javax.faces.view.facelets.FaceletContext
public void setVariableMapper(javax.el.VariableMapper varMapper)
setVariableMapper
in class javax.faces.view.facelets.FaceletContext
public void setFunctionMapper(javax.el.FunctionMapper fnMapper)
setFunctionMapper
in class javax.faces.view.facelets.FaceletContext
public void setAttribute(String name, Object value)
setAttribute
in class javax.faces.view.facelets.FaceletContext
public Object getAttribute(String name)
getAttribute
in class javax.faces.view.facelets.FaceletContext
public void includeFacelet(javax.faces.component.UIComponent parent, String relativePath) throws IOException
includeFacelet
in class javax.faces.view.facelets.FaceletContext
IOException
public void includeFacelet(javax.faces.component.UIComponent parent, URL absolutePath) throws IOException
includeFacelet
in class javax.faces.view.facelets.FaceletContext
IOException
public javax.el.ELResolver getELResolver()
getELResolver
in class javax.el.ELContext
public javax.el.FunctionMapper getFunctionMapper()
getFunctionMapper
in class javax.el.ELContext
public javax.el.VariableMapper getVariableMapper()
getVariableMapper
in class javax.el.ELContext
Copyright © 2016–2018 JoinFaces. All rights reserved.