Interface EnumConverter

All Superinterfaces:
All Known Implementing Classes:

public interface EnumConverter
extends ObjectConverter<Enum<?>>

A converter for instances representing enums. Source classes to support include strings and integers. Strings are handled as case insensitive enum constants with spaces replaced by underscores and integers as enum ordinals.

An array of enums may be represented as a bit mask of enum ordinals by specifying a bit mask pattern.

$Id:,v 1.2 2009/09/28 15:08:42 cvsimp Exp $
Ilkka Priha

Field Summary
static String BIT_MASK_PATTERN
          Bit mask pattern.
Method Summary
Methods inherited from interface org.norther.tammi.core.converter.ObjectConverter
getFormatPattern, getInstance, getInstance, getInstance, getLocalizedPattern, getResourceFinderName, setResourceFinderName, toString, toString, toString, toStrings, toStrings, toStrings

Field Detail


static final String BIT_MASK_PATTERN
Bit mask pattern.

See Also:
Constant Field Values

Copyright 2004 The Norther Organization. All rights reserved.