br.com.arsmachina.tapestrycrud.services.impl
Class LabelEncoderSourceImpl
java.lang.Object
br.com.arsmachina.tapestrycrud.services.impl.LabelEncoderSourceImpl
- All Implemented Interfaces:
- LabelEncoderSource
public class LabelEncoderSourceImpl
- extends Object
- implements LabelEncoderSource
LabelEncoderSource implementation.
- Author:
- Thiago H. de Paula Figueiredo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabelEncoderSourceImpl
public LabelEncoderSourceImpl(Map<Class,LabelEncoder> registrations,
EncoderSource encoderSource)
- Single constructor.
- Parameters:
registrations -
get
public <T> LabelEncoder<T> get(Class<T> clasz)
- Description copied from interface:
LabelEncoderSource
- Returns the
LabelEncoder of a given type.
- Specified by:
get in interface LabelEncoderSource
- Type Parameters:
T - a type.- Parameters:
clasz - a Class.
- Returns:
- an
Encoder. - See Also:
LabelEncoderSource.get(java.lang.Class)
Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.