Interface MarshalTypeFactory.MarshalTypeFactoryComplement<T,C>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      C fromUnmarshaled​(T aDataStructure)
      This method creates / retrieves (converts to) an instance from the provided external representation.
      default C fromUnmarshaled​(T aDataStructure, 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

      • fromUnmarshaled

        default C fromUnmarshaled​(T aDataStructure,
                                  java.util.Map<java.lang.String,java.lang.String> aProperties)
                           throws org.refcodes.exception.MarshalException
        This method creates / retrieves (converts to) an instance from the provided external representation.
        Parameters:
        aDataStructure - The data structure to be marshaled.
        aProperties - The dynamic properties which are used to configure the desired result.
        Returns:
        The according marshaled data structure from the external representation.
        Throws:
        org.refcodes.exception.MarshalException - Thrown when marshaling / serializing a data structure fails.
      • fromUnmarshaled

        C fromUnmarshaled​(T aDataStructure)
                   throws org.refcodes.exception.MarshalException
        This method creates / retrieves (converts to) an instance from the provided external representation.
        Parameters:
        aDataStructure - The data structure to be marshaled.
        Returns:
        The according marshaled data structure from the external representation.
        Throws:
        org.refcodes.exception.MarshalException - Thrown when marshaling / serializing a data structure fails.