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, toString
protected 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 uponIOException
public void applyNextHandler(FaceletContext ctx, UIComponent c) throws IOException
IOException
public 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)
MetaTagHandler
setAttributes
in class MetaTagHandler
protected MetaRuleset createMetaRuleset(Class type)
createMetaRuleset
in class MetaTagHandler
protected abstract TagHandlerDelegate getTagHandlerDelegate()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.