javax.faces.convert
Class IntegerConverter

java.lang.Object
  extended by javax.faces.convert.IntegerConverter
All Implemented Interfaces:
Converter

@JSFConverter
public class IntegerConverter
extends Object
implements Converter

see Javadoc of JSF Specification

Version:
$Revision: 1188565 $ $Date: 2011-10-25 03:38:53 -0500 (Tue, 25 Oct 2011) $
Author:
Thomas Spiegl (latest modification by $Author: struberg $)

Field Summary
static String CONVERTER_ID
           
static String INTEGER_ID
           
static String STRING_ID
           
 
Constructor Summary
IntegerConverter()
           
 
Method Summary
 Object getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
           
 String getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONVERTER_ID

public static final String CONVERTER_ID
See Also:
Constant Field Values

STRING_ID

public static final String STRING_ID
See Also:
Constant Field Values

INTEGER_ID

public static final String INTEGER_ID
See Also:
Constant Field Values
Constructor Detail

IntegerConverter

public IntegerConverter()
Method Detail

getAsObject

public Object getAsObject(FacesContext facesContext,
                          UIComponent uiComponent,
                          String value)
Specified by:
getAsObject in interface Converter

getAsString

public String getAsString(FacesContext facesContext,
                          UIComponent uiComponent,
                          Object value)
Specified by:
getAsString in interface Converter


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.