net.officefloor.eclipse.common.dialog.input
Class ValueTranslatorRegistry

java.lang.Object
  extended by net.officefloor.eclipse.common.dialog.input.ValueTranslatorRegistry

public class ValueTranslatorRegistry
extends Object

Registry of ValueTranslator instances by type.

Author:
Daniel Sagenschneider

Constructor Summary
ValueTranslatorRegistry(ClassLoader classLoader)
          Initiate.
 
Method Summary
 ValueTranslator getValueTranslator(Class<?> type)
          Obtains the ValueTranslator for the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueTranslatorRegistry

public ValueTranslatorRegistry(ClassLoader classLoader)
Initiate.

Parameters:
classLoader - ClassLoader.
Method Detail

getValueTranslator

public ValueTranslator getValueTranslator(Class<?> type)
Obtains the ValueTranslator for the type.

Parameters:
type - Type.
Returns:
ValueTranslator for the type or null if one not available.


Copyright © 2005-2013. All Rights Reserved.