Interface MarshalFactory.MarshalFactoryComplement<C>

    • Method Detail

      • fromUnmarshaled

        <SRC> C fromUnmarshaled​(SRC aContext)
                         throws org.refcodes.exception.MarshalException
        Same as MarshalFactory.toMarshaled(Object) returning an InputStream instead of a String.
        Type Parameters:
        SRC - the generic type
        Parameters:
        aContext - the context
        Returns:
        The instance being fabricated by this factory.
        Throws:
        org.refcodes.exception.MarshalException - the marshal exception
      • fromUnmarshaled

        default <SRC> C fromUnmarshaled​(SRC aContext,
                                        java.util.Map<java.lang.String,java.lang.String> aProperties)
                                 throws org.refcodes.exception.MarshalException
        Same as MarshalFactory.toMarshaled(Object, Map) returning an InputStream instead of a String.
        Type Parameters:
        SRC - the generic type
        Parameters:
        aContext - the context
        aProperties - the properties
        Returns:
        The instance being fabricated by this factory.
        Throws:
        org.refcodes.exception.MarshalException - the marshal exception