public class ConverterTagHandlerDelegate extends TagHandlerDelegate implements ValueHolderAttachedObjectHandler
Constructor and Description |
---|
ConverterTagHandlerDelegate(ConverterHandler delegate) |
Modifier and Type | Method and Description |
---|---|
void |
apply(FaceletContext ctx,
UIComponent parent)
Set Converter instance on parent ValueHolder if it's not being restored.
|
void |
applyAttachedObject(FacesContext context,
UIComponent parent) |
protected Converter |
createConverter(FaceletContext ctx)
Create a Converter instance
|
MetaRuleset |
createMetaRuleset(Class type) |
String |
getFor() |
public ConverterTagHandlerDelegate(ConverterHandler delegate)
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
createConverter
.setAttributes
on Converter instance.apply
in class TagHandlerDelegate
IOException
ValueHolder
,
Converter
,
createConverter(FaceletContext)
,
FaceletHandler.apply(javax.faces.view.facelets.FaceletContext, javax.faces.component.UIComponent)
protected Converter createConverter(FaceletContext ctx)
ctx
- FaceletContext to usepublic MetaRuleset createMetaRuleset(Class type)
createMetaRuleset
in class TagHandlerDelegate
public void applyAttachedObject(FacesContext context, UIComponent parent)
applyAttachedObject
in interface AttachedObjectHandler
public String getFor()
getFor
in interface AttachedObjectHandler
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.