Interface MarshallerProvider<T>
public interface MarshallerProvider<T>
A service provider interface for marshaller providers.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault <U> MarshallerProvider<U> asSubclass(Class<U> targetClass) Returns a marshaller suitable for the provided classReturns the class for which this implementation provides a marshaller.
-
Method Details
-
getProvidedClass
Returns the class for which this implementation provides a marshaller.- Returns:
- the class for which this implementation provides a marshaller.
-
asSubclass
-
getMarshaller
Marshaller<T,ByteBuffer> getMarshaller()Returns a marshaller suitable for the provided class- Returns:
- a marshaller suitable for the provided class
-