Module org.refcodes.factory
Package org.refcodes.factory
Interface MarshalFactory.MarshalFactoryComplement<C>
- Type Parameters:
C
- The type of the complement regarding the type of theMarshalFactory
.
- All Known Subinterfaces:
MarshalFactory.MarshalFactoryComposite<T,
C>
- Enclosing interface:
- MarshalFactory<T>
public static interface MarshalFactory.MarshalFactoryComplement<C>
The
MarshalFactory.MarshalFactoryComplement
provides inverse functionality to
the MarshalFactory
.-
Method Summary
Modifier and TypeMethodDescription<SRC> C
fromUnmarshaled
(SRC aContext) default <SRC> C
fromUnmarshaled
(SRC aContext, Map<String, String> aProperties)
-
Method Details
-
fromUnmarshaled
- 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, Map<String, String> aProperties) throws org.refcodes.exception.MarshalException- Type Parameters:
SRC
- the generic type- Parameters:
aContext
- the contextaProperties
- the properties- Returns:
- The instance being fabricated by this factory.
- Throws:
org.refcodes.exception.MarshalException
- the marshal exception
-