Class AbstractStringValueToString<T>
- java.lang.Object
-
- de.gebit.integrity.parameter.conversion.Conversion<StringValue,T>
-
- de.gebit.integrity.parameter.conversion.conversions.integrity.strings.AbstractStringValueToString<T>
-
- Type Parameters:
T- the target type
- Direct Known Subclasses:
StringValueToFormattedString,StringValueToString
public abstract class AbstractStringValueToString<T> extends Conversion<StringValue,T>
A default Integrity conversion.- Author:
- Rene Schneider - initial API and implementation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.gebit.integrity.parameter.conversion.Conversion
Conversion.Priority
-
-
Constructor Summary
Constructors Constructor Description AbstractStringValueToString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FormattedStringconvertToFormattedString(StringValue aSource, ConversionContext aConversionContext)Converts the providedStringValueto aFormattedString.-
Methods inherited from class de.gebit.integrity.parameter.conversion.Conversion
convert, convertValueRecursive, convertValueToFormattedStringArrayRecursive, setVisitedObjects
-
-
-
-
Method Detail
-
convertToFormattedString
protected FormattedString convertToFormattedString(StringValue aSource, ConversionContext aConversionContext)
Converts the providedStringValueto aFormattedString.- Parameters:
aSource- the source valueaConversionContext- the conversion context- Returns:
- the resulting string
-
-