Enable the JSF
implementation to provide the appropriate behavior for the kind of
MetaTagHandler subclass for each kind of element in the view,
while providing a base-class from which those wanting to make a Java
language custom tag handler can inherit. The JSF runtime provides
the implementation of getTagHandlerDelegate for the
appropriate subclass.
| Modifier and Type | Field and Description |
|---|---|
| private final TagAttribute | |
| protected TagHandlerDelegateFactory | |
| private final TagAttribute |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(FaceletContext
the ctx, UIComponent FaceletContext for this view executionthe parent parent)UIComponent of the
component represented by this element instance.Implements javax. The default implementation simply
calls through to |
| public void | applyNextHandler(FaceletContext
the ctx, UIComponent FaceletContext for this view executionthe c)UIComponent of the
component represented by this element instance.Invoke the |
| protected MetaRuleset | createMetaRuleset(Class<T>
the type)Class for which the
MetaRuleset must be created.Implements abstract javax. The default implementation simply
calls through to |
| public TagAttribute | |
| public Tag | |
| public TagAttribute | |
| protected abstract TagHandlerDelegate | |
| public String | |
| public boolean | |
| public void | setAttributes(FaceletContext
the Facelet context. ctx, Object the instance. instance)Overrides javax. |
| binding | back to summary |
|---|---|
| private final TagAttribute binding | |
| delegateFactory | back to summary |
|---|---|
| protected TagHandlerDelegateFactory delegateFactory | |
| disabled | back to summary |
|---|---|
| private final TagAttribute disabled | |
| DelegatingMetaTagHandler | back to summary |
|---|---|
| public DelegatingMetaTagHandler(TagConfig config) | |
| apply | back to summary |
|---|---|
| public void apply(FaceletContext ctx, UIComponent parent) throws IOException Implements javax. The default implementation simply
calls through to
| |
| applyNextHandler | back to summary |
|---|---|
| public void applyNextHandler(FaceletContext ctx, UIComponent c) throws IOException, FacesException, ELException Invoke the
| |
| createMetaRuleset | back to summary |
|---|---|
| protected MetaRuleset createMetaRuleset(Class<T> type) Implements abstract javax. The default implementation simply
calls through to
| |
| getBinding | back to summary |
|---|---|
| public TagAttribute getBinding() | |
| getTag | back to summary |
|---|---|
| public Tag getTag() | |
| getTagAttribute | back to summary |
|---|---|
| public TagAttribute getTagAttribute(String localName) | |
| getTagHandlerDelegate | back to summary |
|---|---|
| protected abstract TagHandlerDelegate getTagHandlerDelegate() Get the tag handler delegate. Code that extends from DelegatingMetaTagHandler (directly or indirectly, as through extending ComponentHandler) must take care to decorate, not replace, the TagHandlerDelegate instance returned by this method. Failure to do so may produce unexpected results.
| |
| getTagId | back to summary |
|---|---|
| public String getTagId() | |
| isDisabled | back to summary |
|---|---|
| public boolean isDisabled(FaceletContext ctx) | |
| setAttributes | back to summary |
|---|---|
| public void setAttributes(FaceletContext ctx, Object instance) Overrides javax. Doc from javax. Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.
| |