public class ConverterTagHandlerDelegateImpl extends TagHandlerDelegate implements AttachedObjectHandler
Constructor and Description |
---|
ConverterTagHandlerDelegateImpl(ConverterHandler owner) |
Modifier and Type | Method and Description |
---|---|
void |
apply(FaceletContext ctx,
UIComponent parent)
Called
by classes that implement
|
void |
applyAttachedObject(FacesContext context,
UIComponent parent)
Take the argument
|
MetaRuleset |
createMetaRuleset(Class type)
Return a |
String |
getFor()
Return the value of the "for"
attribute specified by the page author on the tag for
this |
public ConverterTagHandlerDelegateImpl(ConverterHandler owner)
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
TagHandlerDelegate
Called
by classes that implement
FaceletHandler
in their
implementation of apply()
.
If the argument comp
is 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. See UIComponent.getPassThroughAttributes(boolean)
.
See the VDLDocs for the namespace URI of the pass through attribute
namespace. Attributes whose value is a ValueExpression
must remain un-evaluated and stored in the map as ValueExpression
instances.
apply
in class TagHandlerDelegate
ctx
- the FaceletContext
for this requestparent
- the UIComponent
that corresponds to this
element.IOException
- if any files necessary to apply this tag handler
have any difficulty while loadingpublic MetaRuleset createMetaRuleset(Class type)
TagHandlerDelegate
Return a MetaRuleset
particular to this kind of tag handler. Called from classes that
implement MetaTagHandler
.
createMetaRuleset
in class TagHandlerDelegate
type
- the Class
for which the
MetaRuleset
must be created.MetaRuleset
particular to this kind of tag handler.public String getFor()
AttachedObjectHandler
Return the value of the "for"
attribute specified by the page author on the tag for
this AttachedObjectHandler
.
getFor
in interface AttachedObjectHandler
public void applyAttachedObject(FacesContext context, UIComponent parent)
AttachedObjectHandler
Take the argument
parent
and apply this attached object to it. The
action taken varies with class that implements one of the
subinterfaces of this interface.
applyAttachedObject
in interface AttachedObjectHandler
context
- The FacesContext
for this requestparent
- The UIComponent
to which this
particular attached object must be applied.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.