Class AbstractRegexValueToString<T>
- java.lang.Object
-
- de.gebit.integrity.parameter.conversion.Conversion<RegexValue,T>
-
- de.gebit.integrity.parameter.conversion.conversions.integrity.other.AbstractRegexValueToString<T>
-
- Type Parameters:
T- the target type
- Direct Known Subclasses:
RegexValueToFormattedString,RegexValueToString
public abstract class AbstractRegexValueToString<T> extends Conversion<RegexValue,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 AbstractRegexValueToString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FormattedStringconvertToFormattedString(RegexValue aSource, ConversionContext aConversionContext)Converts the providedRegexValueto aFormattedString.-
Methods inherited from class de.gebit.integrity.parameter.conversion.Conversion
convert, convertValueRecursive, convertValueToFormattedStringArrayRecursive, setVisitedObjects
-
-
-
-
Method Detail
-
convertToFormattedString
protected FormattedString convertToFormattedString(RegexValue aSource, ConversionContext aConversionContext)
Converts the providedRegexValueto aFormattedString.- Parameters:
aSource- the source valueaConversionContext- the conversion context- Returns:
- the resulting string
-
-