Class TagHandlerDelegate
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandlerDelegate
-
public abstract class TagHandlerDelegate extends Object
Abstract class that defines methods relating to helping tag handler instances. This abstraction enables implementation details to be hidden by the Jakarta Faces implementation while still allowing concrete classes to be defined for extension by users.
- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description TagHandlerDelegate()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidapply(FaceletContext ctx, UIComponent comp)abstract MetaRulesetcreateMetaRuleset(Class type)Return aMetaRulesetparticular to this kind of tag handler.
-
-
-
Method Detail
-
createMetaRuleset
public abstract MetaRuleset createMetaRuleset(Class type)
Return a
MetaRulesetparticular to this kind of tag handler. Called from classes that implementMetaTagHandler.- Parameters:
type- theClassfor which theMetaRulesetmust be created.- Returns:
- a
MetaRulesetparticular to this kind of tag handler. - Since:
- 2.0
-
apply
public abstract void apply(FaceletContext ctx, UIComponent comp) throws IOException
Called by classes that implement
FaceletHandlerin their implementation ofapply().If the argument
compis new to the view, for each tag attribute declared to be in the pass through attribute namespace, set the name and value of the attribute into the pass through attributes map of the component. SeeUIComponent.getPassThroughAttributes(boolean). See the VDLDocs for the namespace URI of the pass through attribute namespace. Attributes whose value is aValueExpressionmust remain un-evaluated and stored in the map asValueExpressioninstances.- Parameters:
ctx- theFaceletContextfor this requestcomp- theUIComponentthat corresponds to this element.- Throws:
IOException- if any files necessary to apply this tag handler have any difficulty while loading
-
-