net.smartlab.web.bean
Class BooleanConverter

java.lang.Object
  extended by net.smartlab.web.bean.Converter
      extended by net.smartlab.web.bean.BooleanConverter

public class BooleanConverter
extends Converter

TODO documentation

Author:
rlogiacco

Constructor Summary
BooleanConverter(boolean value)
          TODO documentation
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value, java.util.Locale locale)
          TODO documentation
protected  boolean getDefault()
          TODO documentation
protected  boolean hasDefault()
          TODO documentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanConverter

public BooleanConverter(boolean value)
TODO documentation

Parameters:
value -
Method Detail

convert

public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value,
                                java.util.Locale locale)
                         throws ConversionException
Description copied from class: Converter
TODO documentation

Specified by:
convert in class Converter
Parameters:
type - the target type
value - the value to be converted
locale - the locale to be used for the conversion
Returns:
an instance of the specified type which represents the converted input value
Throws:
ConversionException - if something wrong occurs during conversion or if the conversion couldn't be performed
See Also:
Converter.convert(java.lang.Class, java.lang.Object, java.util.Locale)

hasDefault

protected boolean hasDefault()
TODO documentation

Returns:

getDefault

protected boolean getDefault()
TODO documentation

Returns:


Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.