Uses of Interface
jakarta.faces.convert.Converter
Packages that use Converter
Package
Description
APIs that are used to link an application's
business logic objects to Jakarta Faces, as well as convenient
pluggable mechanisms to manage the execution of an application that is
based on Jakarta Faces.
Fundamental APIs for user
interface components.
Contains classes and interfaces
defining converters.
-
Uses of Converter in com.sun.faces.application
Methods in com.sun.faces.application that return ConverterModifier and TypeMethodDescriptionConverter<?>ApplicationImpl.createConverter(Class<?> targetClass) Converter<?>ApplicationImpl.createConverter(String converterId) -
Uses of Converter in com.sun.faces.application.annotation
Methods in com.sun.faces.application.annotation with parameters of type ConverterModifier and TypeMethodDescriptionvoidAnnotationManager.applyConverterAnnotations(FacesContext ctx, Converter c) Apply annotations relevant toConverterinstances. -
Uses of Converter in com.sun.faces.application.applicationimpl
Methods in com.sun.faces.application.applicationimpl that return ConverterModifier and TypeMethodDescriptionInstanceFactory.createConverter(Class<?> targetClass) Converter<?>InstanceFactory.createConverter(String converterId) -
Uses of Converter in com.sun.faces.cdi
Classes in com.sun.faces.cdi that implement ConverterMethods in com.sun.faces.cdi that return ConverterModifier and TypeMethodDescriptionstatic Converter<?>CdiUtils.createConverter(jakarta.enterprise.inject.spi.BeanManager beanManager, Class<?> forClass) Create a converter using the FacesConverter forClass attribute.static Converter<?>CdiUtils.createConverter(jakarta.enterprise.inject.spi.BeanManager beanManager, String value) Create a converter using the FacesConverter value attribute.Constructors in com.sun.faces.cdi with parameters of type ConverterModifierConstructorDescriptionCdiConverter(String converterId, Class forClass, Converter delegate) Constructor. -
Uses of Converter in com.sun.faces.ext.component
Methods in com.sun.faces.ext.component with parameters of type Converter -
Uses of Converter in com.sun.faces.facelets.tag.faces.core
Methods in com.sun.faces.facelets.tag.faces.core that return ConverterModifier and TypeMethodDescriptionprotected ConverterConvertDateTimeHandler.createConverter(FaceletContext ctx) Returns a new DateTimeConverterprotected ConverterConvertDelegateHandler.createConverter(FaceletContext ctx) Uses the specified "converterId" to pull an instance from the Applicationprotected ConverterConvertNumberHandler.createConverter(FaceletContext ctx) Returns a new NumberConverter -
Uses of Converter in com.sun.faces.renderkit.html_basic
Methods in com.sun.faces.renderkit.html_basic with parameters of type ConverterModifier and TypeMethodDescriptionprotected StringHtmlBasicRenderer.getFormattedValue(FacesContext context, UIComponent component, Object currentValue, Converter converter) Overloads getFormattedValue to take a advantage of a previously obtained converter.protected booleanMenuRenderer.isSelected(FacesContext context, UIComponent component, Object itemValue, Object valueArray, Converter<?> converter) protected voidRadioRenderer.renderInput(FacesContext context, ResponseWriter writer, UIComponent component, String clientId, Object itemValue, Converter<?> converter, boolean checked, boolean disabled, RadioRenderer.Group group) protected booleanMenuRenderer.renderOption(FacesContext context, UIComponent component, UIComponent selectComponent, Converter<?> converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, HtmlBasicRenderer.OptionComponentInfo optionInfo) protected voidRadioRenderer.renderOption(FacesContext context, UIComponent component, Converter converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, Boolean newTableRow, int itemNumber, HtmlBasicRenderer.OptionComponentInfo optionInfo) protected voidSelectManyCheckboxListRenderer.renderOption(FacesContext context, UIComponent component, Converter converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, Boolean newTableRow, int itemNumber, HtmlBasicRenderer.OptionComponentInfo optionInfo) -
Uses of Converter in com.sun.faces.util
Methods in com.sun.faces.util that return ConverterModifier and TypeMethodDescriptionstatic ConverterUtil.getConverterForClass(Class converterClass, FacesContext context) static ConverterUtil.getConverterForIdentifer(String converterId, FacesContext context) -
Uses of Converter in jakarta.faces.application
Methods in jakarta.faces.application that return ConverterModifier and TypeMethodDescriptionabstract ConverterApplication.createConverter(Class<?> targetClass) Instantiate and return a newConverterinstance of the class that has registered itself as capable of performing conversions for objects of the specified type.abstract ConverterApplication.createConverter(String converterId) Instantiate and return a newConverterinstance of the class specified by a previous call toaddConverter()for the specified converter id.ApplicationWrapper.createConverter(Class<?> targetClass) The default behavior of this method is to callApplication.createConverter(Class)on the wrappedApplicationobject.ApplicationWrapper.createConverter(String converterId) The default behavior of this method is to callApplication.createConverter(String)on the wrappedApplicationobject. -
Uses of Converter in jakarta.faces.component
Methods in jakarta.faces.component that return ConverterModifier and TypeMethodDescriptionUIOutput.getConverter()ValueHolder.getConverter()Return theConverter(if any) that is registered for thisUIComponent.Methods in jakarta.faces.component with parameters of type ConverterModifier and TypeMethodDescriptionvoidUIOutput.setConverter(Converter converter) voidValueHolder.setConverter(Converter converter) Set theConverter(if any) that is registered for thisUIComponent. -
Uses of Converter in jakarta.faces.convert
Classes in jakarta.faces.convert that implement ConverterModifier and TypeClassDescriptionclassConverterimplementation forjava.math.BigDecimalvalues.classConverterimplementation forjava.math.BigIntegervalues.classConverterimplementation forjava.lang.Boolean(and boolean primitive) values.classConverterimplementation forjava.lang.Byte(and byte primitive) values.classConverterimplementation forjava.lang.Character(and char primitive) values.classConverterimplementation forjava.util.Datevalues.classConverterimplementation forjava.lang.Double(and double primitive) values.classConverterimplementation forjava.lang.Enum(and enum primitive) values.classConverterimplementation forjava.lang.Float(and float primitive) values.classConverterimplementation forjava.lang.Integer(and int primitive) values.classConverterimplementation forjava.lang.Long(and long primitive) values.classConverterimplementation forjava.lang.Numbervalues.classConverterimplementation forjava.lang.Short(and short primitive) values.