Uses of Class
jakarta.faces.view.facelets.FaceletContext
-
Uses of FaceletContext in jakarta.faces.view.facelets
Modifier and TypeMethodDescriptionvoid
CompositeFaceletHandler.apply
(FaceletContext ctx, UIComponent parent) Calls apply on any child handlers.void
DelegatingMetaTagHandler.apply
(FaceletContext ctx, UIComponent parent) The default implementation simply calls through toTagHandlerDelegate.apply(jakarta.faces.view.facelets.FaceletContext, jakarta.faces.component.UIComponent)
.void
FaceletHandler.apply
(FaceletContext ctx, UIComponent parent) Process changes on a particular UIComponentabstract void
TagHandlerDelegate.apply
(FaceletContext ctx, UIComponent comp) abstract void
Metadata.applyMetadata
(FaceletContext ctx, Object instance) Take the action prescribed in the Jakarta Faces Specification for this particular VDL element attribute.void
DelegatingMetaTagHandler.applyNextHandler
(FaceletContext ctx, UIComponent c) Invoke theapply()
method on this instance'sTagHandler.nextHandler
.ComponentHandler.createComponent
(FaceletContext ctx) Subclasses that wish to take over the task of instantiating theUIComponent
instance corresponding to this tag handler my override this method to do so.AttributeHandler.getAttributeName
(FaceletContext ctx) Returns the resolved literal String value of the attribute name after evaluating EL.abstract boolean
TagAttribute.getBoolean
(FaceletContext ctx) If literal,returnBoolean.valueOf(java.lang.String)
passing our value, otherwise callgetObject(FaceletContext, Class)
.ConverterHandler.getConverterId
(FaceletContext ctx) Returns the converter Id.FacetHandler.getFacetName
(FaceletContext ctx) Returns the resolved literal String value of the facet name after evaluating EL.abstract int
TagAttribute.getInt
(FaceletContext ctx) If literal, callInteger.parseInt(String)
, otherwise callgetObject(FaceletContext, Class)
.abstract MethodExpression
TagAttribute.getMethodExpression
(FaceletContext ctx, Class type, Class[] paramTypes) Create a MethodExpression, using this attribute's value as the expression String.abstract Object
TagAttribute.getObject
(FaceletContext ctx) Delegates to getObject with Object.class as a paramabstract Object
TagAttribute.getObject
(FaceletContext ctx, Class type) If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression and evaluate it.TextHandler.getText
(FaceletContext ctx) Returns the resolved literal String value of the contained text after evaluating EL.ValidatorHandler.getValidatorId
(FaceletContext ctx) Retrieve the id of the validator that is to be created and added to the parentEditableValueHolder
.abstract String
TagAttribute.getValue
(FaceletContext ctx) If literal, then return our value, otherwise delegate to getObject, passing String.class.abstract ValueExpression
TagAttribute.getValueExpression
(FaceletContext ctx, Class type) Create a ValueExpression, using this attribute's literal value and the passed expected type.boolean
DelegatingMetaTagHandler.isDisabled
(FaceletContext ctx) Returns the value of the "disabled" attribute.void
ComponentHandler.onComponentCreated
(FaceletContext ctx, UIComponent c, UIComponent parent) This method is guaranteed to be called after the component has been created but before it has been populated with children.void
ComponentHandler.onComponentPopulated
(FaceletContext ctx, UIComponent c, UIComponent parent) This method is guaranteed to be called after the component has been populated with children.void
DelegatingMetaTagHandler.setAttributes
(FaceletContext ctx, Object instance) protected void
MetaTagHandler.setAttributes
(FaceletContext ctx, Object instance) Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.