org.norther.tammi.core.converter
Interface EnumConverter
- All Superinterfaces:
- ObjectConverter<Enum<?>>
- All Known Implementing Classes:
- DefaultEnumConverter
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.
- Version:
- $Id: EnumConverter.java,v 1.2 2009/09/28 15:08:42 cvsimp Exp $
- Author:
- Ilkka Priha
Methods inherited from interface org.norther.tammi.core.converter.ObjectConverter |
getFormatPattern, getInstance, getInstance, getInstance, getLocalizedPattern, getResourceFinderName, setResourceFinderName, toString, toString, toString, toStrings, toStrings, toStrings |
BIT_MASK_PATTERN
static final String BIT_MASK_PATTERN
- Bit mask pattern.
- See Also:
- Constant Field Values
Copyright © 2004 The Norther Organization. All rights reserved.