Package jakarta.faces.convert
Interface Converter<T>
- All Known Implementing Classes:
BigDecimalConverter,BigIntegerConverter,BooleanConverter,ByteConverter,CharacterConverter,DateTimeConverter,DoubleConverter,EnumConverter,FloatConverter,IntegerConverter,LongConverter,NumberConverter,ShortConverter,UUIDConverter
public interface Converter<T>
see Javadoc of Faces Specification
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSet the default timezone as system timezone when a converter extending from DateTimeConverter is created. -
Method Summary
Modifier and TypeMethodDescriptiongetAsObject(FacesContext context, UIComponent component, String value) getAsString(FacesContext context, UIComponent component, T value)
-
Field Details
-
DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
@JSFWebConfigParam(defaultValue="false", expectedValues="true, false", since="2.0", group="validation") static final String DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAMESet the default timezone as system timezone when a converter extending from DateTimeConverter is created.- See Also:
-
-
Method Details
-
getAsObject
- Throws:
ConverterException
-
getAsString
- Throws:
ConverterException
-