Package com.sun.faces.facelets
Class FaceletContextImplBase
java.lang.Object
jakarta.el.ELContext
jakarta.faces.view.facelets.FaceletContext
com.sun.faces.facelets.FaceletContextImplBase
public abstract class FaceletContextImplBase extends FaceletContext
- Author:
- edburns
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FaceletContextImplBase()
-
Method Summary
Modifier and Type Method Description abstract void
extendClient(TemplateClient client)
abstract boolean
includeDefinition(UIComponent parent, String name)
This method will walk through the TemplateClient stack to resolve and apply the definition for the passed name.abstract void
popClient(TemplateClient client)
Pop the last added TemplateClientabstract void
pushClient(TemplateClient client)
Push the passed TemplateClient onto the stack for Definition ResolutionMethods inherited from class jakarta.faces.view.facelets.FaceletContext
generateUniqueId, getAttribute, getExpressionFactory, getFacesContext, includeFacelet, includeFacelet, setAttribute, setFunctionMapper, setVariableMapper
Methods inherited from class jakarta.el.ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getELResolver, getEvaluationListeners, getFunctionMapper, getImportHandler, getLambdaArgument, getLocale, getVariableMapper, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, putContext, setLocale, setPropertyResolved, setPropertyResolved
-
Constructor Details
-
FaceletContextImplBase
public FaceletContextImplBase()
-
-
Method Details
-
pushClient
Push the passed TemplateClient onto the stack for Definition Resolution- Parameters:
client
-- See Also:
TemplateClient
-
popClient
Pop the last added TemplateClient- See Also:
TemplateClient
-
extendClient
-
includeDefinition
public abstract boolean includeDefinition(UIComponent parent, String name) throws IOException, FaceletException, FacesException, jakarta.el.ELExceptionThis method will walk through the TemplateClient stack to resolve and apply the definition for the passed name. If it's been resolved and applied, this method will return true.- Parameters:
parent
- the UIComponent to apply toname
- name or null of the definition you want to apply- Returns:
- true if successfully applied, otherwise false
- Throws:
IOException
FaceletException
FacesException
jakarta.el.ELException
-