javax.faces.convert
Interface Converter

All Known Implementing Classes:
BigDecimalConverter, BigIntegerConverter, BooleanConverter, ByteConverter, CharacterConverter, DateTimeConverter, DoubleConverter, EnumConverter, FloatConverter, IntegerConverter, LongConverter, NumberConverter, ShortConverter

public interface Converter

see Javadoc of JSF Specification


Field Summary
static String DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
          Set the default timezone as system timezone when a converter extending from DateTimeConverter is created.
 
Method Summary
 Object getAsObject(FacesContext context, UIComponent component, String value)
           
 String getAsString(FacesContext context, UIComponent component, Object value)
           
 

Field Detail

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_NAME
Set the default timezone as system timezone when a converter extending from DateTimeConverter is created.

See Also:
Constant Field Values
Method Detail

getAsObject

Object getAsObject(FacesContext context,
                   UIComponent component,
                   String value)
                   throws ConverterException
Throws:
ConverterException

getAsString

String getAsString(FacesContext context,
                   UIComponent component,
                   Object value)
                   throws ConverterException
Throws:
ConverterException


Copyright © 2015 The Apache Software Foundation. All rights reserved.