public class DurationConverter extends Object implements javax.faces.convert.Converter
Modifier and Type | Field and Description |
---|---|
static String |
CONVERTER_ID |
Constructor and Description |
---|
DurationConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
getAsObject(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String string) |
String |
getAsString(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object object) |
public static final String CONVERTER_ID
public String getAsString(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Object object) throws javax.faces.convert.ConverterException
getAsString
in interface javax.faces.convert.Converter
javax.faces.convert.ConverterException
public Object getAsObject(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, String string) throws javax.faces.convert.ConverterException
getAsObject
in interface javax.faces.convert.Converter
javax.faces.convert.ConverterException
Copyright © 2002-2018 The Apache Software Foundation. All Rights Reserved.