Interface MarshallerBuilder

  • All Known Implementing Classes:
    BaseMarshallerBuilder

    public interface MarshallerBuilder
    Allows plugable builders for various marshallers so out of the box functionality can be enhanced
    • Method Detail

      • build

        Marshaller build​(Set<Class<?>> classes,
                         MarshallingFormat format,
                         ClassLoader classLoader)
        Based on given parameters builds marshaller instance that matches given format (MarshallingFormat)
        Parameters:
        classes - optional set of custom classes - can be null
        format - expected type of the marshaller
        classLoader - class loader to be used for this marshaller
        Returns:
        new instance of marshaller