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>
TheMarshalFactory.MarshalFactoryComplement
provides inverse functionality to theMarshalFactory
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <SRC> C
fromUnmarshaled(SRC aContext)
default <SRC> C
fromUnmarshaled(SRC aContext, Map<String,String> aProperties)
-
-
-
Method Detail
-
fromUnmarshaled
<SRC> C fromUnmarshaled(SRC aContext) throws org.refcodes.exception.MarshalException
- 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
-
-