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

java.lang.Object
  extended by org.omnaest.utils.structure.element.converter.ElementConverterObjectToString
All Implemented Interfaces:
Serializable, ElementConverter<Object,String>, ElementConverterTypeAware<Object,String>, ElementConverterTypeAwareSerializable<Object,String>

public class ElementConverterObjectToString
extends Object
implements ElementConverterTypeAwareSerializable<Object,String>

Author:
Omnaest
See Also:
ElementConverterTypeAware, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.omnaest.utils.structure.element.converter.ElementConverterTypeAware
ElementConverterTypeAware.SourceAndTargetType<FROM,TO>
 
Constructor Summary
ElementConverterObjectToString()
           
 
Method Summary
 String convert(Object element)
          Transforms a single element from one type into another.
 ElementConverterTypeAware.SourceAndTargetType<Object,String> getSourceAndTargetType()
          Returns the ElementConverterTypeAware.SourceAndTargetType of the ElementConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementConverterObjectToString

public ElementConverterObjectToString()
Method Detail

convert

public String convert(Object element)
Description copied from interface: ElementConverter
Transforms a single element from one type into another.

Specified by:
convert in interface ElementConverter<Object,String>
Returns:
converted element

getSourceAndTargetType

public ElementConverterTypeAware.SourceAndTargetType<Object,String> getSourceAndTargetType()
Description copied from interface: ElementConverterTypeAware
Returns the ElementConverterTypeAware.SourceAndTargetType of the ElementConverter

Specified by:
getSourceAndTargetType in interface ElementConverterTypeAware<Object,String>
Returns:


Copyright © 2013. All Rights Reserved.