Package org.mycore.user2
Interface MCRUserAttributeConverter<ValueType,BoundType>
- All Known Implementing Classes:
MCRDFNDisplayNameConverter
,MCRRolesConverter
,MCRUserNameConverter
public interface MCRUserAttributeConverter<ValueType,BoundType>
- Author:
- René Adler (eagle)
-
Method Summary
-
Method Details
-
convert
BoundType convert(ValueType value, String separator, Map<String, String> valueMapping) throws ExceptionConvert a given value to the specified type.- Parameters:
value
- the value of type<ValueType>
, to convertseparator
- the value separator ornull
valueMapping
- the value mapping ornull
- Returns:
- the converted value of type
<BoundType>
- Throws:
Exception
- if there's an error during the conversion.
-