T
- The type of the data structure from which a marshaled
(external) representation is to be unmarshaled.C
- The type of the complement regarding the type of the
unmarshaled representation of the MarshalTypeFactory
.MarshalTypeFactory.MarshalTypeFactoryComposite<T,SRC,C>
public static interface MarshalTypeFactory.MarshalTypeFactoryComplement<T,C>
MarshalTypeFactory.MarshalTypeFactoryComplement
provides inverse functionality
to the MarshalTypeFactory
.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,
Map<String,String> aProperties) |
This method creates / retrieves (converts to) an instance from the
provided external representation.
|
default C fromUnmarshaled(T aDataStructure, Map<String,String> aProperties) throws org.refcodes.exception.MarshalException
aDataStructure
- The data structure to be marshaled.aProperties
- The dynamic properties which are used to configure
the desired result.org.refcodes.exception.MarshalException
- Thrown when marshaling / serializing a data
structure fails.C fromUnmarshaled(T aDataStructure) throws org.refcodes.exception.MarshalException
aDataStructure
- The data structure to be marshaled.org.refcodes.exception.MarshalException
- Thrown when marshaling / serializing a data
structure fails.Copyright © 2021. All rights reserved.