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.ConvertDateTimeHandler
- All Implemented Interfaces:
AttachedObjectHandler,FaceletHandler,ValueHolderAttachedObjectHandler
Register a DateTimeConverter 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
delegateFactoryFields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConverterReturns a new DateTimeConvertercreateMetaRuleset(Class type) The default implementation simply calls through toTagHandlerDelegate.createMetaRuleset(java.lang.Class)and returns the result.voidsetAttributes(FaceletContext ctx, Object obj) Implements tag spec, see taglib documentation.Methods inherited from class jakarta.faces.view.facelets.ConverterHandler
getConverterId, getTagHandlerDelegateMethods inherited from class jakarta.faces.view.facelets.FaceletsAttachedObjectHandler
applyAttachedObject, getAttachedObjectHandlerHelper, getForMethods inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, getBinding, getTag, getTagAttribute, getTagId, isDisabledMethods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.faces.view.AttachedObjectHandler
applyAttachedObject, getFor
-
Constructor Details
-
ConvertDateTimeHandler
- Parameters:
config-
-
-
Method Details
-
createConverter
protected Converter createConverter(FaceletContext ctx) throws FacesException, jakarta.el.ELException, FaceletException Returns a new DateTimeConverter- Throws:
FacesExceptionjakarta.el.ELExceptionFaceletException- See Also:
-
setAttributes
Implements tag spec, see taglib documentation.- Overrides:
setAttributesin classDelegatingMetaTagHandler- Parameters:
ctx- the Facelet context.obj- the instance.
-
createMetaRuleset
Description copied from class:DelegatingMetaTagHandlerThe default implementation simply calls through to
TagHandlerDelegate.createMetaRuleset(java.lang.Class)and returns the result.- Overrides:
createMetaRulesetin classDelegatingMetaTagHandler- Parameters:
type- theClassfor which theMetaRulesetmust be created.- Returns:
- the
MetaRuleset.
-