| Modifier and Type | Method and Description |
|---|---|
Converter<?> |
ApplicationImpl.createConverter(Class<?> targetClass) |
Converter<?> |
ApplicationImpl.createConverter(String converterId) |
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationManager.applyConverterAnnotations(FacesContext ctx,
Converter c)
Apply annotations relevant to
Converter instances. |
| Modifier and Type | Method and Description |
|---|---|
Converter |
InstanceFactory.createConverter(Class<?> targetClass) |
Converter<?> |
InstanceFactory.createConverter(String converterId) |
| Modifier and Type | Class and Description |
|---|---|
class |
CdiConverter
A delegate to the CDI managed converter.
|
| Modifier and Type | Method and Description |
|---|---|
static Converter<?> |
CdiUtils.createConverter(javax.enterprise.inject.spi.BeanManager beanManager,
Class<?> forClass)
Create a converter using the FacesConverter forClass attribute.
|
static Converter<?> |
CdiUtils.createConverter(javax.enterprise.inject.spi.BeanManager beanManager,
String value)
Create a converter using the FacesConverter value attribute.
|
| Constructor and Description |
|---|
CdiConverter(String converterId,
Class forClass,
Converter delegate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UIValidateWholeBean.setConverter(Converter converter) |
| Modifier and Type | Method and Description |
|---|---|
protected Converter |
ConvertNumberHandler.createConverter(FaceletContext ctx)
Returns a new NumberConverter
|
protected Converter |
ConvertDelegateHandler.createConverter(FaceletContext ctx)
Uses the specified "converterId" to pull an instance from the Application
|
protected Converter |
ConvertDateTimeHandler.createConverter(FaceletContext ctx)
Returns a new DateTimeConverter
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
HtmlBasicRenderer.getFormattedValue(FacesContext context,
UIComponent component,
Object currentValue,
Converter converter)
Overloads getFormattedValue to take a advantage of a previously obtained converter.
|
protected boolean |
MenuRenderer.isSelected(FacesContext context,
UIComponent component,
Object itemValue,
Object valueArray,
Converter<?> converter) |
protected void |
RadioRenderer.renderInput(FacesContext context,
ResponseWriter writer,
UIComponent component,
String clientId,
Object itemValue,
Converter<?> converter,
boolean checked,
boolean disabled,
RadioRenderer.Group group) |
protected void |
SelectManyCheckboxListRenderer.renderOption(FacesContext context,
UIComponent component,
Converter converter,
SelectItem curItem,
Object currentSelections,
Object[] submittedValues,
boolean alignVertical,
int itemNumber,
HtmlBasicRenderer.OptionComponentInfo optionInfo) |
protected void |
RadioRenderer.renderOption(FacesContext context,
UIComponent component,
Converter converter,
SelectItem curItem,
Object currentSelections,
Object[] submittedValues,
boolean alignVertical,
int itemNumber,
HtmlBasicRenderer.OptionComponentInfo optionInfo) |
protected boolean |
MenuRenderer.renderOption(FacesContext context,
UIComponent component,
UIComponent selectComponent,
Converter<?> converter,
SelectItem curItem,
Object currentSelections,
Object[] submittedValues,
HtmlBasicRenderer.OptionComponentInfo optionInfo) |
| Modifier and Type | Class and Description |
|---|---|
static class |
ConverterTag.BindingConverter |
| Modifier and Type | Method and Description |
|---|---|
protected Converter |
ConvertNumberTag.createConverter() |
protected Converter |
ConverterTag.createConverter() |
protected Converter |
ConvertDateTimeTag.createConverter() |
protected Converter |
AbstractConverterTag.createConverter() |
protected static Converter |
AbstractConverterTag.createConverter(javax.el.ValueExpression converterId,
javax.el.ValueExpression binding,
FacesContext facesContext) |
| Modifier and Type | Method and Description |
|---|---|
static Converter |
Util.getConverterForClass(Class converterClass,
FacesContext context) |
static Converter |
Util.getConverterForIdentifer(String converterId,
FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
abstract Converter |
Application.createConverter(Class<?> targetClass)
Instantiate and return a new
Converter
instance of the class that has registered itself as capable of performing conversions for
objects of the specified type. |
Converter |
ApplicationWrapper.createConverter(Class<?> targetClass)
The default behavior of this method is to call |
abstract Converter |
Application.createConverter(String converterId)
Instantiate and return a new
Converter
instance of the class specified by a previous call to addConverter() for the
specified converter id. |
Converter |
ApplicationWrapper.createConverter(String converterId)
The default behavior of this method is to call |
| Modifier and Type | Method and Description |
|---|---|
Converter |
ValueHolder.getConverter()
Return the
Converter (if any)
that is registered for this UIComponent. |
Converter |
UIOutput.getConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
ValueHolder.setConverter(Converter converter)
Set the
Converter (if any) that is registered for this
UIComponent. |
void |
UIOutput.setConverter(Converter converter) |
| Modifier and Type | Class and Description |
|---|---|
class |
BigDecimalConverter
Converter implementation for
java.math.BigDecimal values. |
class |
BigIntegerConverter
Converter implementation for
java.math.BigInteger values. |
class |
BooleanConverter
Converter implementation for java.lang.Boolean
(and boolean primitive) values. |
class |
ByteConverter
Converter implementation for java.lang.Byte
(and byte primitive) values. |
class |
CharacterConverter
Converter implementation for java.lang.Character
(and char primitive) values. |
class |
DateTimeConverter
Converter
implementation for java.util.Date values. |
class |
DoubleConverter
Converter implementation for java.lang.Double
(and double primitive) values. |
class |
EnumConverter
Converter implementation
for java.lang.Enum (and enum primitive) values. |
class |
FloatConverter
Converter implementation for java.lang.Float
(and float primitive) values. |
class |
IntegerConverter
Converter implementation for java.lang.Integer
(and int primitive) values. |
class |
LongConverter
Converter implementation for java.lang.Long
(and long primitive) values. |
class |
NumberConverter
Converter
implementation for java.lang.Number values. |
class |
ShortConverter
Converter implementation for java.lang.Short
(and short primitive) values. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Converter |
ConverterELTag.createConverter()
Create and return a new
Converter to be registered
on our surrounding UIComponent. |
protected Converter |
ConverterTag.createConverter()
Deprecated.
Create and return a new
Converter to be registered
on our surrounding UIComponent. |
Copyright © 1997–2019 Eclipse Foundation. All rights reserved.