Class TranscoderSupport
- java.lang.Object
-
- net.shibboleth.idp.attribute.transcoding.TranscoderSupport
-
public final class TranscoderSupport extends Object
Support functions for working withAttributeTranscoderframework.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTranscoderSupport()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> AttributeTranscoder<T>getTranscoder(TranscodingRule rule)Pull anAttributeTranscoderobject out of the rule provided.
-
-
-
Method Detail
-
getTranscoder
@Nonnull public static <T> AttributeTranscoder<T> getTranscoder(@Nonnull TranscodingRule rule) throws ConstraintViolationException
Pull anAttributeTranscoderobject out of the rule provided.- Type Parameters:
T- type of supported target object- Parameters:
rule- transcoding rule- Returns:
- an
AttributeTranscoder - Throws:
ConstraintViolationException- if a transcoder cannot be obtained
-
-