org.omnaest.utils.structure.element.converter
Class ElementConverterObjectToClassOfObject

java.lang.Object
  extended by org.omnaest.utils.structure.element.converter.ElementConverterObjectToClassOfObject
All Implemented Interfaces:
Serializable, ElementConverter<Object,Class<? extends Object>>, ElementConverterSerializable<Object,Class<? extends Object>>

public class ElementConverterObjectToClassOfObject
extends Object
implements ElementConverterSerializable<Object,Class<? extends Object>>

This is an ElementConverter implementation which returns the Class instances of a given Object by calling Object.getClass()

Author:
Omnaest
See Also:
Serialized Form

Constructor Summary
ElementConverterObjectToClassOfObject()
           
 
Method Summary
 Class<? extends Object> convert(Object element)
          Transforms a single element from one type into another.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementConverterObjectToClassOfObject

public ElementConverterObjectToClassOfObject()
Method Detail

convert

public Class<? extends Object> convert(Object element)
Description copied from interface: ElementConverter
Transforms a single element from one type into another.

Specified by:
convert in interface ElementConverter<Object,Class<? extends Object>>
Returns:
converted element


Copyright © 2013. All Rights Reserved.