public abstract class FaceletContext
extends javax.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 javax.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(javax.el.FunctionMapper fnMapper)
Set the FunctionMapper to use in EL evaluation/creation
|
abstract void |
setVariableMapper(javax.el.VariableMapper varMapper)
Set the VariableMapper to use in EL evaluation/creation
|
public static final String FACELET_CONTEXT_KEY
public abstract String generateUniqueId(String base)
base - public abstract Object getAttribute(String name)
name - public abstract javax.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(javax.el.FunctionMapper fnMapper)
fnMapper - public abstract void setVariableMapper(javax.el.VariableMapper varMapper)
varMapper - Copyright © 2021 The Apache Software Foundation. All rights reserved.