public abstract class FaceletContext
extends jakarta.el.ELContext
| Modifier and Type | Field and Description | 
|---|---|
| static String | FACELET_CONTEXT_KEY | 
| Constructor and Description | 
|---|
| FaceletContext() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract String | generateUniqueId(String base)Generate a unique ID for the passed String | 
| abstract Object | getAttribute(String name)Support method which is backed by the current VariableMapper | 
| abstract jakarta.el.ExpressionFactory | getExpressionFactory()The ExpressionFactory to use within the Facelet this context is executing upon. | 
| abstract FacesContext | getFacesContext()The current FacesContext bound to this "request" | 
| abstract void | includeFacelet(UIComponent parent,
              String relativePath)Include another Facelet defined at some path, relative to the executing context, not the current Facelet (same as
 include directive in JSP) | 
| abstract void | includeFacelet(UIComponent parent,
              URL absolutePath)Include another Facelet defined at some path, absolute to this ClassLoader/OS | 
| abstract void | setAttribute(String name,
            Object value)Support method which is backed by the current VariableMapper | 
| abstract void | setFunctionMapper(jakarta.el.FunctionMapper fnMapper)Set the FunctionMapper to use in EL evaluation/creation | 
| abstract void | setVariableMapper(jakarta.el.VariableMapper varMapper)Set the VariableMapper to use in EL evaluation/creation | 
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getELResolver, getEvaluationListeners, getFunctionMapper, getImportHandler, getLambdaArgument, getLocale, getVariableMapper, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, putContext, setLocale, setPropertyResolved, setPropertyResolvedpublic static final String FACELET_CONTEXT_KEY
public abstract String generateUniqueId(String base)
base - public abstract Object getAttribute(String name)
name - public abstract jakarta.el.ExpressionFactory getExpressionFactory()
public abstract FacesContext getFacesContext()
public abstract void includeFacelet(UIComponent parent, String relativePath) throws IOException
parent - relativePath - IOExceptionFaceletExceptionFacesExceptionELExceptionpublic abstract void includeFacelet(UIComponent parent, URL absolutePath) throws IOException
parent - absolutePath - IOExceptionFaceletExceptionFacesExceptionELExceptionpublic abstract void setAttribute(String name, Object value)
name - value - public abstract void setFunctionMapper(jakarta.el.FunctionMapper fnMapper)
fnMapper - public abstract void setVariableMapper(jakarta.el.VariableMapper varMapper)
varMapper - Copyright © 2021 The Apache Software Foundation. All rights reserved.