Interface MCRUserAttributeConverter<ValueType,BoundType>

All Known Implementing Classes:
MCRDFNDisplayNameConverter, MCRRolesConverter, MCRUserNameConverter

public interface MCRUserAttributeConverter<ValueType,BoundType>
Author:
René Adler (eagle)
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(ValueType value, String separator, Map<String,String> valueMapping)
    Convert a given value to the specified type.
  • Method Details

    • convert

      BoundType convert(ValueType value, String separator, Map<String,String> valueMapping) throws Exception
      Convert a given value to the specified type.
      Parameters:
      value - the value of type <ValueType>, to convert
      separator - the value separator or null
      valueMapping - the value mapping or null
      Returns:
      the converted value of type <BoundType>
      Throws:
      Exception - if there's an error during the conversion.