public abstract class DelegatingMetaTagHandler extends MetaTagHandler
| Modifier and Type | Field and Description |
|---|---|
protected TagHandlerDelegateFactory |
delegateFactory |
nextHandler, tag, tagId| Constructor and Description |
|---|
DelegatingMetaTagHandler(TagConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(FaceletContext ctx,
UIComponent parent)
Process changes on a particular UIComponent
|
void |
applyNextHandler(FaceletContext ctx,
UIComponent c) |
protected MetaRuleset |
createMetaRuleset(Class type)
Extend this method in order to add your own rules.
|
TagAttribute |
getBinding() |
Tag |
getTag() |
TagAttribute |
getTagAttribute(String localName) |
protected abstract TagHandlerDelegate |
getTagHandlerDelegate() |
String |
getTagId() |
boolean |
isDisabled(FaceletContext ctx) |
void |
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.
|
getAttribute, getRequiredAttribute, toStringprotected TagHandlerDelegateFactory delegateFactory
public DelegatingMetaTagHandler(TagConfig config)
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
ctx - the current FaceletContext instance for this executionparent - the parent UIComponent to operate uponIOExceptionpublic void applyNextHandler(FaceletContext ctx, UIComponent c) throws IOException
IOExceptionpublic TagAttribute getBinding()
public Tag getTag()
public TagAttribute getTagAttribute(String localName)
public String getTagId()
public boolean isDisabled(FaceletContext ctx)
public void setAttributes(FaceletContext ctx, Object instance)
MetaTagHandlersetAttributes in class MetaTagHandlerprotected MetaRuleset createMetaRuleset(Class type)
createMetaRuleset in class MetaTagHandlerprotected abstract TagHandlerDelegate getTagHandlerDelegate()
Copyright © 2021 The Apache Software Foundation. All Rights Reserved.