br.com.arsmachina.tapestrycrud.services.impl
Class LabelEncoderSourceImpl

java.lang.Object
  extended by 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

Constructor Summary
LabelEncoderSourceImpl(Map<Class,LabelEncoder> registrations, EncoderSource encoderSource)
          Single constructor.
 
Method Summary
<T> LabelEncoder<T>
get(Class<T> clasz)
          Returns the LabelEncoder of a given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelEncoderSourceImpl

public LabelEncoderSourceImpl(Map<Class,LabelEncoder> registrations,
                              EncoderSource encoderSource)
Single constructor.

Parameters:
registrations -
Method Detail

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.