Interface UnmarshalFactory.UnmarshalFactoryComplement<C>

    • Method Detail

      • fromMarshaled

        <T> T fromMarshaled​(C aContext,
                            java.lang.Class<T> aType)
                     throws org.refcodes.exception.UnmarshalException
        Same as UnmarshalFactory.toUnmarshaled(Object, Class) passing the (source's) complement instead of the source.
        Type Parameters:
        T - the generic type
        Parameters:
        aContext - The context influencing the creation of the instance.
        aType - The type identifying the instance to be created / retrieved.
        Returns:
        The produced instance.
        Throws:
        org.refcodes.exception.UnmarshalException - the unmarshal exception
      • fromMarshaled

        java.lang.Object fromMarshaled​(C aContext,
                                       java.lang.Class<?>... aTypes)
                                throws org.refcodes.exception.UnmarshalException
        Same as UnmarshalFactory.toUnmarshaled(Object, Class...) passing the (source's) complement instead of the source.
        Parameters:
        aContext - The context influencing the creation of the instance.
        aTypes - The types identifying or included by the instance to be created / retrieved.
        Returns:
        The produced instance.
        Throws:
        org.refcodes.exception.UnmarshalException - the unmarshal exception
      • fromMarshaled

        java.lang.Object fromMarshaled​(C aContext,
                                       java.util.Map<java.lang.String,java.lang.String> aProperties,
                                       java.lang.Class<?>... aTypes)
                                throws org.refcodes.exception.UnmarshalException
        Same as UnmarshalFactory.toUnmarshaled(Object, Map, Class...) passing the (source's) complement instead of the source.
        Parameters:
        aContext - The context influencing the creation of the instance.
        aProperties - the properties
        aTypes - The types identifying or included by the instance to be created / retrieved.
        Returns:
        The produced instance.
        Throws:
        org.refcodes.exception.UnmarshalException - the unmarshal exception
      • fromMarshaled

        <T> T fromMarshaled​(C aContext,
                            java.lang.Class<T> aType,
                            java.util.Map<java.lang.String,java.lang.String> aProperties)
                     throws org.refcodes.exception.UnmarshalException
        Same as UnmarshalFactory.toUnmarshaled(Object, Class, Map) passing the (source's) complement instead of the source.
        Type Parameters:
        T - the generic type
        Parameters:
        aContext - The context influencing the creation of the instance.
        aType - The type identifying the instance to be created / retrieved.
        aProperties - the properties
        Returns:
        The produced instance.
        Throws:
        org.refcodes.exception.UnmarshalException - the unmarshal exception