|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.el.ELContext javax.faces.view.facelets.FaceletContext
public abstract class FaceletContext
The parent or root object in a FaceletHandler composition. The Facelet will take care of populating the passed UIComponent parent in relation to the create/restore lifecycle of JSF.
Field Summary | |
---|---|
static String |
FACELET_CONTEXT_KEY
|
Constructor Summary | |
---|---|
FaceletContext()
|
Method Summary | |
---|---|
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 |
Methods inherited from class javax.el.ELContext |
---|
getContext, getELResolver, getFunctionMapper, getLocale, getVariableMapper, isPropertyResolved, putContext, setLocale, setPropertyResolved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FACELET_CONTEXT_KEY
Constructor Detail |
---|
public FaceletContext()
Method Detail |
---|
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, FaceletException, FacesException, javax.el.ELException
parent
- relativePath
-
IOException
FaceletException
FacesException
javax.el.ELException
public abstract void includeFacelet(UIComponent parent, URL absolutePath) throws IOException, FaceletException, FacesException, javax.el.ELException
parent
- absolutePath
-
IOException
FaceletException
FacesException
javax.el.ELException
public 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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |