Top Fields Constructors Methods
com.sun.faces.facelets

public abstract Class FaceletContextImplBase

extends FaceletContext
Class Inheritance
Known Direct Subclasses
com.sun.faces.facelets.impl.DefaultFaceletContext
Imports
java.io.IOException, jakarta.el.ELException, jakarta.faces.FacesException, jakarta.faces.component.UIComponent, jakarta.faces.view.facelets.FaceletContext, .FaceletException

Author
edburns

Field Summary

Inherited from jakarta.faces.view.facelets.FaceletContext:
FACELET_CONTEXT_KEY

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
public abstract boolean

Returns:

true if successfully applied, otherwise false
includeDefinition
(UIComponent
the UIComponent to apply to
parent
,
String
name or null of the definition you want to apply
name
)

This method will walk through the TemplateClient stack to resolve and apply the definition for the passed name.

public abstract void
popClient(TemplateClient
the template client
client
)

Pop the last added TemplateClient

public abstract void
pushClient(TemplateClient
the template client
client
)

Push the passed TemplateClient onto the stack for Definition Resolution

Inherited from jakarta.faces.view.facelets.FaceletContext:
generateUniqueIdgetAttributegetExpressionFactorygetFacesContextincludeFaceletincludeFaceletsetAttributesetFunctionMappersetVariableMapper

Constructor Detail

FaceletContextImplBaseback to summary
public FaceletContextImplBase()

Method Detail

extendClientback to summary
public abstract void extendClient(TemplateClient client)
includeDefinitionback to summary
public abstract boolean includeDefinition(UIComponent parent, String name) throws IOException, FaceletException, FacesException, ELException

This 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:UIComponent

the UIComponent to apply to

name:String

name or null of the definition you want to apply

Returns:boolean

true if successfully applied, otherwise false

Exceptions
IOException:
when an I/O exception occurs
FaceletException:
when a Facelet exception occurs
FacesException:
when a Faces exception occurs
ELException:
when an EL exception occurs
popClientback to summary
public abstract void popClient(TemplateClient client)

Pop the last added TemplateClient

Parameters
client:TemplateClient

the template client

See Also
TemplateClient
pushClientback to summary
public abstract void pushClient(TemplateClient client)

Push the passed TemplateClient onto the stack for Definition Resolution

Parameters
client:TemplateClient

the template client

See Also
TemplateClient