Package org.omnaest.utils.structure.element.converter

Interface Summary
ElementBidirectionalConverter<FROM,TO> ElementConverter which additonally specify a ElementBidirectionalConverter.convertBackwards(Object) method, so that a two way conversion is possible
ElementBidirectionalConverterSerializable<FROM,TO> ElementBidirectionalConverter which additionally extends the Serializable interface
ElementConverter<FROM,TO> The provides a ElementConverter.convert(Object) method to transform one element instance into another.
ElementConverterElementToMapEntry<E,K,V> A transformer from a List element type to a Map.Entry type
ElementConverterOneToMany<FROM,TO> The provides the transformation method to transform one generic Collection instance into one or multiple elements of other type.
ElementConverterSerializable<FROM,TO> ElementConverter which additionally implements the Serializable interface
ElementConverterTypeAware<FROM,TO> Extension of ElementConverter which allows to retrieve the source and target types using ElementConverterTypeAware.getSourceAndTargetType().
ElementConverterTypeAwareSerializable<FROM,TO> ElementConverterTypeAware which additionally extends the Serializable inteface
 

Class Summary
ElementBidirectionalConverterSetToUnmodifiableSet<E> ElementBidirectionalConverter which makes use of Collections.unmodifiableSet(Set) within its ElementBidirectionalConverterSetToUnmodifiableSet.convert(Set) method but not in its ElementBidirectionalConverterSetToUnmodifiableSet.convertBackwards(Set) method
ElementBidirectionalConverterWeakReference<E> ElementBidirectionalConverter which encloses a given element into a WeakReference
ElementConverterAlphaNumericEncodedStringToDecodedString Decodes the given String using the Codec.alphaNumeric() codec
ElementConverterBeanPropertyAccessorToProperty<B> ElementConverter for converting BeanPropertyAccessor instances to property names
ElementConverterBooleanToString  
ElementConverterChain<FROM,TO> ElementConverter which abstracts a chain of other ElementConverter instances
ElementConverterClassToClassInstanceFactory<T> ElementConverter which converts a given Class type to an FactoryTypeAware instance which creates instances of the given type using ReflectionUtils.newInstanceOf(Class, Object...)
ElementConverterClassToInstance<T> ElementConverter which converts a given Class type to an instance using FactoryTypeAwareReflectionBased
ElementConverterGenericElementToString<E>  
ElementConverterHelper Static helper for ElementConverter
ElementConverterIdentitiyCast<FROM,TO> Simple ElementBidirectionalConverter implementation which casts the given object and returns it.
ElementConverterIdentity<T> Does not change the type of the element and the value of the element being converted.
ElementConverterIdentityCast<FROM,TO> Does not change the type of the element and the value of the element being converted.
ElementConverterNumberToString  
ElementConverterObjectToClassOfObject This is an ElementConverter implementation which returns the Class instances of a given Object by calling Object.getClass()
ElementConverterObjectToString  
ElementConverterRegistration Static registration of ElementConverter and ElementConverterTypeAware instances.
ElementConverterStringToAlphaNumericEncodedString Encodes the given String using the Codec.alphaNumeric() codec
ElementConverterStringToBigDecimal  
ElementConverterStringToBigInteger  
ElementConverterStringToBoolean  
ElementConverterStringToByte  
ElementConverterStringToDouble  
ElementConverterStringToFloat  
ElementConverterStringToInteger  
ElementConverterStringToLong  
ElementConverterStringToPattern ElementConverter for converting Strings into Patterns using Pattern.compile(String)
ElementConverterStringToShort  
ElementConverterToBidirectionalConverterAdapter<FROM,TO> Adapter for two ElementConverter instances acting like an ElementBidirectionalConverter

If any given ElementConverter is null, the respective transformation direction will throw an UnsupportedOperationException
ElementConverterTypeAware.SourceAndTargetType<FROM,TO>  
ElementConverterTypeAwareGenericsBased<FROM,TO> Abstract ElementConverterTypeAware implementation which allows to resolve the ElementConverterTypeAware.getSourceAndTargetType() based on the generic types of the ElementConverter.
 

Annotation Types Summary
Converter An Converter allows to declare a Class of an ElementConverter which should be used to translate a return value or a single given parameter before storing it in the underlying structure.
 



Copyright © 2013. All Rights Reserved.