Interface UnmarshalTypeFactory.UnmarshalTypeFactoryComplement<T,C>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      T fromMarshaled​(C aExternalRepresentation)
      This method creates / retrieves (converts to) an instance from the provided external representation.
      default T fromMarshaled​(C aExternalRepresentation, java.util.Map<java.lang.String,java.lang.String> aProperties)
      This method creates / retrieves (converts to) an instance from the provided external representation.
    • Method Detail

      • fromMarshaled

        T fromMarshaled​(C aExternalRepresentation)
                 throws org.refcodes.exception.UnmarshalException
        This method creates / retrieves (converts to) an instance from the provided external representation.
        Parameters:
        aExternalRepresentation - The external representation of the data structure to be created.
        Returns:
        The according unmarshaled data structure from the external representation.
        Throws:
        org.refcodes.exception.UnmarshalException - Thrown when unmarshaling / deserializing an object fails.
      • fromMarshaled

        default T fromMarshaled​(C aExternalRepresentation,
                                java.util.Map<java.lang.String,java.lang.String> aProperties)
                         throws org.refcodes.exception.UnmarshalException
        This method creates / retrieves (converts to) an instance from the provided external representation.
        Parameters:
        aExternalRepresentation - The external representation of the data structure to be created.
        aProperties - The dynamic properties which are used to configure the desired result.
        Returns:
        The according unmarshaled data structure from the external representation.
        Throws:
        org.refcodes.exception.UnmarshalException - Thrown when unmarshaling / deserializing an object fails.