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

Version:
$Revision: 1490525 $ $Date: 2013-06-07 02:12:17 -0500 (Fri, 07 Jun 2013) $
Author:
Thomas Spiegl (latest modification by $Author: lu4242 $)

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 © 2013 The Apache Software Foundation. All Rights Reserved.