public final class ConvertNumberHandler extends ConverterHandler
delegateFactorynextHandler, tag, tagId| Constructor and Description |
|---|
ConvertNumberHandler(ConverterConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected Converter |
createConverter(FaceletContext ctx)
Returns a new NumberConverter
|
MetaRuleset |
createMetaRuleset(Class type)
The default implementation simply calls through to |
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.
|
getConverterId, getTagHandlerDelegateapplyAttachedObject, getAttachedObjectHandlerHelper, getForapply, applyNextHandler, getBinding, getTag, getTagAttribute, getTagId, isDisabledgetAttribute, getRequiredAttribute, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyAttachedObject, getForpublic ConvertNumberHandler(ConverterConfig config)
config - protected Converter createConverter(FaceletContext ctx) throws FacesException, jakarta.el.ELException, FaceletException
FacesExceptionjakarta.el.ELExceptionFaceletExceptionNumberConverterpublic void setAttributes(FaceletContext ctx, Object obj)
MetaTagHandlersetAttributes in class DelegatingMetaTagHandlerctx - the Facelet context.obj - the instance.public MetaRuleset createMetaRuleset(Class type)
DelegatingMetaTagHandler
The default implementation simply calls through to TagHandlerDelegate.createMetaRuleset(java.lang.Class) and returns the
result.
createMetaRuleset in class DelegatingMetaTagHandlertype - the Class for which the MetaRuleset must be created.MetaRuleset.Copyright © 1997–2020 Eclipse Foundation. All rights reserved.