public abstract class AbstractFaceletContext extends FaceletContext
FACELET_CONTEXT_KEY| Constructor and Description | 
|---|
| AbstractFaceletContext() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterConstructELExpression()Cleanup all initialization done for construct an EL Expression. | 
| abstract void | applyCompositeComponent(UIComponent parent,
                       Resource resource)Apply the facelet referenced by a url containing a composite component
 definition to the current UIComponent. | 
| void | beforeConstructELExpression()Indicates an expression will be resolved, so preparations
 should be done to detect if a contextual variable has been resolved. | 
| abstract void | extendClient(TemplateClient client) | 
| String | generateUniqueFaceletTagId(String count,
                          String base) | 
| abstract Iterator<AjaxHandler> | getAjaxHandlers()Return a descending iterator containing the ajax handlers to be applied
 to an specific component that implements ClientBehaviorHolder interface,
 according to the conditions specified on jsf 2.0 spec section 10.4.1.1. | 
| ELExpressionCacheMode | getELExpressionCacheMode()Return the mode used to decide whether to cache or not EL expressions | 
| abstract FaceletCompositionContext | getFaceletCompositionContext()Return the current FaceletCompositionContext instance from this
 build. | 
| PageContext | getPageContext()Return the current page context | 
| TemplateContext | getTemplateContext()Return the current template context | 
| abstract boolean | includeCompositeComponentDefinition(UIComponent parent,
                                   String name)This method resolve the current definition to be added by cc:insertChildren
 or cc:insertFacet. | 
| 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. | 
| boolean | isAllowCacheELExpressions() | 
| boolean | isAnyFaceletsVariableResolved()Check if a variable has been resolved by this variable mapper
 or any parent "facelets contextual" variable mapper. | 
| abstract boolean | isBuildingCompositeComponentMetadata()Check if this build is for build composite component metadata | 
| abstract void | popAjaxHandlerToStack() | 
| abstract TemplateManager | popClient(TemplateClient client)Pop the last added pushed TemplateClient | 
| abstract void | popCompositeComponentClient()Pop the current composite component template client, removing the
 current template context from stack. | 
| abstract TemplateManager | popExtendedClient(TemplateClient client)Pop the last added extended TemplateClient | 
| PageContext | popPageContext()Pop the passed page context instance onto the stack. | 
| abstract TemplateContext | popTemplateContext()Pop the passed template context instance from stack. | 
| abstract void | pushAjaxHandlerToStack(AjaxHandler parent) | 
| abstract void | pushClient(TemplateClient client)Push the passed TemplateClient onto the stack for Definition Resolution | 
| abstract void | pushCompositeComponentClient(TemplateClient client)Push the composite component tag handler identified by client on 
 template context stack, triggering the creation of a new empty 
 TemplateContext, that will be used to resolve templates used 
 on that component later. | 
| void | pushPageContext(PageContext client)Push the passed page context instance onto the stack. | 
| abstract void | pushTemplateContext(TemplateContext templateContext)Push the passed template context instance onto the stack, so all
 slots to be resolved (using includeDefinition() call) will take
 into account the information there. | 
generateUniqueId, getAttribute, getExpressionFactory, getFacesContext, includeFacelet, includeFacelet, setAttribute, setFunctionMapper, setVariableMapperpublic abstract FaceletCompositionContext getFaceletCompositionContext()
public abstract void pushClient(TemplateClient client)
client - TemplateClientpublic abstract TemplateManager popClient(TemplateClient client)
TemplateClientpublic abstract TemplateManager popExtendedClient(TemplateClient client)
client - public abstract void extendClient(TemplateClient client)
public abstract boolean includeDefinition(UIComponent parent, String name) throws IOException, FaceletException, FacesException, javax.el.ELException
parent - the UIComponent to apply toname - name or null of the definition you want to applyIOExceptionFaceletExceptionFacesExceptionjavax.el.ELExceptionpublic abstract void applyCompositeComponent(UIComponent parent, Resource resource) throws IOException, FaceletException, FacesException, javax.el.ELException
parent - resource - IOExceptionFaceletExceptionFacesExceptionjavax.el.ELExceptionpublic abstract Iterator<AjaxHandler> getAjaxHandlers()
public abstract void popAjaxHandlerToStack()
public abstract void pushAjaxHandlerToStack(AjaxHandler parent)
public abstract boolean isBuildingCompositeComponentMetadata()
public abstract void popCompositeComponentClient()
public abstract void pushCompositeComponentClient(TemplateClient client)
client - public abstract void pushTemplateContext(TemplateContext templateContext)
templateContext - public abstract TemplateContext popTemplateContext()
public abstract boolean includeCompositeComponentDefinition(UIComponent parent, String name) throws IOException, FaceletException, FacesException, javax.el.ELException
parent - name - IOExceptionFaceletExceptionFacesExceptionjavax.el.ELExceptionpublic TemplateContext getTemplateContext()
public void pushPageContext(PageContext client)
client - public PageContext popPageContext()
public PageContext getPageContext()
public boolean isAnyFaceletsVariableResolved()
public boolean isAllowCacheELExpressions()
public void beforeConstructELExpression()
public void afterConstructELExpression()
public ELExpressionCacheMode getELExpressionCacheMode()
Copyright © 2025 The Apache Software Foundation. All rights reserved.