wicket.util.convert.converters
Class CharacterConverter

java.lang.Object
  extended by wicket.util.convert.converters.AbstractConverter
      extended by wicket.util.convert.converters.CharacterConverter
All Implemented Interfaces:
java.io.Serializable, ITypeConverter

public final class CharacterConverter
extends AbstractConverter

Converts from Object to Character.

Author:
Eelco Hillenius, Jonathan Locke
See Also:
Serialized Form

Field Summary
static ITypeConverter INSTANCE
          The singleton instance for a character converter
 
Constructor Summary
CharacterConverter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Object value, java.util.Locale locale)
          Converts the given value
protected  java.lang.Class getTargetType()
           
 
Methods inherited from class wicket.util.convert.converters.AbstractConverter
newConversionException, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ITypeConverter INSTANCE
The singleton instance for a character converter

Constructor Detail

CharacterConverter

public CharacterConverter()
Method Detail

convert

public java.lang.Object convert(java.lang.Object value,
                                java.util.Locale locale)
Description copied from interface: ITypeConverter
Converts the given value

Parameters:
value - The value to convert
Returns:
The converted value
See Also:
ITypeConverter.convert(java.lang.Object,java.util.Locale)

getTargetType

protected java.lang.Class getTargetType()
Specified by:
getTargetType in class AbstractConverter
Returns:
The target type of this type converter
See Also:
AbstractConverter.getTargetType()


Copyright © 2004-2007 Wicket developers. All Rights Reserved.