Class TranscoderSupport
java.lang.Object
net.shibboleth.idp.attribute.transcoding.TranscoderSupport
Support functions for working with
AttributeTranscoder framework.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> AttributeTranscoder<T>getTranscoder(TranscodingRule rule) Pull anAttributeTranscoderobject out of the rule provided.
-
Constructor Details
-
TranscoderSupport
private TranscoderSupport()Constructor.
-
-
Method Details
-
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
-