Package jakarta.faces.view.facelets
Class DelegatingMetaTagHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- jakarta.faces.view.facelets.MetaTagHandler
-
- jakarta.faces.view.facelets.DelegatingMetaTagHandler
-
- All Implemented Interfaces:
FaceletHandler
- Direct Known Subclasses:
ComponentHandler,FaceletsAttachedObjectHandler
public abstract class DelegatingMetaTagHandler extends MetaTagHandler
- Since:
- 2.0
-
-
Field Summary
Fields Modifier and Type Field Description protected TagHandlerDelegateFactorydelegateFactory-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description DelegatingMetaTagHandler(TagConfig config)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidapply(FaceletContext ctx, UIComponent parent)Process changes on a particular UIComponentvoidapplyNextHandler(FaceletContext ctx, UIComponent c)protected MetaRulesetcreateMetaRuleset(Class type)Extend this method in order to add your own rules.TagAttributegetBinding()TaggetTag()TagAttributegetTagAttribute(String localName)protected abstract TagHandlerDelegategetTagHandlerDelegate()StringgetTagId()booleanisDisabled(FaceletContext ctx)voidsetAttributes(FaceletContext ctx, Object instance)Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Field Detail
-
delegateFactory
protected TagHandlerDelegateFactory delegateFactory
-
-
Constructor Detail
-
DelegatingMetaTagHandler
public DelegatingMetaTagHandler(TagConfig config)
-
-
Method Detail
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
Process changes on a particular UIComponent- Parameters:
ctx- the current FaceletContext instance for this executionparent- the parent UIComponent to operate upon- Throws:
IOException
-
applyNextHandler
public void applyNextHandler(FaceletContext ctx, UIComponent c) throws IOException, FacesException, jakarta.el.ELException
- Throws:
IOExceptionFacesExceptionjakarta.el.ELException
-
getBinding
public TagAttribute getBinding()
-
getTag
public Tag getTag()
-
getTagAttribute
public TagAttribute getTagAttribute(String localName)
-
getTagId
public String getTagId()
-
isDisabled
public boolean isDisabled(FaceletContext ctx)
-
setAttributes
public void setAttributes(FaceletContext ctx, Object instance)
Description copied from class:MetaTagHandlerInvoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.- Overrides:
setAttributesin classMetaTagHandler
-
createMetaRuleset
protected MetaRuleset createMetaRuleset(Class type)
Extend this method in order to add your own rules.- Specified by:
createMetaRulesetin classMetaTagHandler- Returns:
- FIXME: EG _ GENERIC
-
getTagHandlerDelegate
protected abstract TagHandlerDelegate getTagHandlerDelegate()
-
-