Class OneToManyTranscoder
- java.lang.Object
-
- org.infinispan.commons.dataconversion.AbstractTranscoder
-
- org.infinispan.commons.dataconversion.OneToManyTranscoder
-
- All Implemented Interfaces:
Transcoder
- Direct Known Subclasses:
BinaryTranscoder
,TranscoderMarshallerAdapter
public abstract class OneToManyTranscoder extends AbstractTranscoder
Base class forTranscoder
that converts between a single format and multiple other formats and back.
-
-
Field Summary
Fields Modifier and Type Field Description protected MediaType
mainType
protected Set<MediaType>
supportedTypes
-
Constructor Summary
Constructors Constructor Description OneToManyTranscoder(MediaType mainType, MediaType... supportedConversions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<MediaType>
getSupportedMediaTypes()
boolean
supportsConversion(MediaType mediaType, MediaType other)
-
Methods inherited from class org.infinispan.commons.dataconversion.AbstractTranscoder
decodeContent, doTranscode, encodeContent, transcode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.dataconversion.Transcoder
supports
-
-