javax.faces.convert
Class BooleanConverter

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

@JSFConverter
public class BooleanConverter
extends Object
implements Converter

see Javadoc of JSF Specification

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Thomas Spiegl (latest modification by $Author: bommel $)

Field Summary
static String BOOLEAN_ID
           
static String CONVERTER_ID
           
static String STRING_ID
           
 
Constructor Summary
BooleanConverter()
           
 
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

BOOLEAN_ID

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

BooleanConverter

public BooleanConverter()
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.