Class AbstractMarshallingRegistry


  • public abstract class AbstractMarshallingRegistry
    extends Object
    Base class for marshaller/unmarshaller registry implementations.
    • Method Detail

      • get

        protected Object get​(MarshallLocation marshallLocation,
                             MarshallingType<?> marshallingType)
        Get a registered marshaller/unmarshaller by location and type.
        Parameters:
        marshallLocation - Location of registered (un)marshaller.
        marshallingType - Type of registered (un)marshaller.
        Returns:
        Registered marshaller/unmarshaller.
        Throws:
        SdkClientException - if no marshaller/unmarshaller is registered for the given location and type.
      • toMarshallingType

        protected <T> MarshallingType<T> toMarshallingType​(T val)