Class BinaryCoercer

    • Constructor Detail

      • BinaryCoercer

        public BinaryCoercer()
    • Method Detail

      • getFormats

        public Map<String,​Class<?>> getFormats()
        Specified by:
        getFormats in interface IJsonFormatTypeCoercer
        Returns:
        Pairs of one or more format names to Java type such as "date-time"->LocalDateTime.class to be referenced in Json Schema "format" types.
      • coerce

        public Object coerce​(Object value,
                             Type type)
        Specified by:
        coerce in interface manifold.ext.rt.api.ICoercionProvider
      • toBindingValue

        public Object toBindingValue​(Object value)
        Specified by:
        toBindingValue in interface manifold.ext.rt.api.ICoercionProvider