org.omnaest.utils.structure.element.converter
Class ElementConverterObjectToString
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementConverterObjectToString
public ElementConverterObjectToString()
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.