Class ConvertNumberHandler
java.lang.Object
jakarta.faces.view.facelets.TagHandler
jakarta.faces.view.facelets.MetaTagHandler
jakarta.faces.view.facelets.DelegatingMetaTagHandler
jakarta.faces.view.facelets.FaceletsAttachedObjectHandler
jakarta.faces.view.facelets.ConverterHandler
com.sun.faces.facelets.tag.faces.core.ConvertNumberHandler
- All Implemented Interfaces:
AttachedObjectHandler
,FaceletHandler
,ValueHolderAttachedObjectHandler
Register a NumberConverter instance on the UIComponent associated with the closest parent UIComponent custom action.
See tag
documentation.
- Version:
- $Id$
- Author:
- Jacob Hookom
-
Field Summary
Fields inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
delegateFactory
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Converter
Returns a new NumberConvertercreateMetaRuleset
(Class type) The default implementation simply calls through toTagHandlerDelegate.createMetaRuleset(java.lang.Class)
and returns the result.void
setAttributes
(FaceletContext ctx, Object obj) Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.Methods inherited from class jakarta.faces.view.facelets.ConverterHandler
getConverterId, getTagHandlerDelegate
Methods inherited from class jakarta.faces.view.facelets.FaceletsAttachedObjectHandler
applyAttachedObject, getAttachedObjectHandlerHelper, getFor
Methods inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, getBinding, getTag, getTagAttribute, getTagId, isDisabled
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jakarta.faces.view.AttachedObjectHandler
applyAttachedObject, getFor
-
Constructor Details
-
ConvertNumberHandler
- Parameters:
config
-
-
-
Method Details
-
createConverter
protected Converter createConverter(FaceletContext ctx) throws FacesException, jakarta.el.ELException, FaceletException Returns a new NumberConverter- Throws:
FacesException
jakarta.el.ELException
FaceletException
- See Also:
-
setAttributes
Description copied from class:MetaTagHandler
Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.- Overrides:
setAttributes
in classDelegatingMetaTagHandler
- Parameters:
ctx
- the Facelet context.obj
- the instance.
-
createMetaRuleset
Description copied from class:DelegatingMetaTagHandler
The default implementation simply calls through to
TagHandlerDelegate.createMetaRuleset(java.lang.Class)
and returns the result.- Overrides:
createMetaRuleset
in classDelegatingMetaTagHandler
- Parameters:
type
- theClass
for which theMetaRuleset
must be created.- Returns:
- the
MetaRuleset
.
-