Module org.refcodes.factory
Package org.refcodes.factory
Interface UnmarshalFactory.UnmarshalFactoryComplement<C>
-
- Type Parameters:
C
- The type of the complement regarding the type of theUnmarshalFactory
.
- All Known Subinterfaces:
UnmarshalFactory.UnmarshalFactoryComposite<T,C>
- Enclosing interface:
- UnmarshalFactory<SRC>
public static interface UnmarshalFactory.UnmarshalFactoryComplement<C>
TheUnmarshalFactory.UnmarshalFactoryComplement
provides inverse functionality to theUnmarshalFactory
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
fromMarshaled(C aContext, Class<?>... aTypes)
Same asUnmarshalFactory.toUnmarshaled(Object, Class...)
passing the (source's) complement instead of the source.<T> T
fromMarshaled(C aContext, Class<T> aType)
Same asUnmarshalFactory.toUnmarshaled(Object, Class)
passing the (source's) complement instead of the source.<T> T
fromMarshaled(C aContext, Class<T> aType, Map<String,String> aProperties)
Same asUnmarshalFactory.toUnmarshaled(Object, Class, Map)
passing the (source's) complement instead of the source.Object
fromMarshaled(C aContext, Map<String,String> aProperties, Class<?>... aTypes)
Same asUnmarshalFactory.toUnmarshaled(Object, Map, Class...)
passing the (source's) complement instead of the source.
-
-
-
Method Detail
-
fromMarshaled
<T> T fromMarshaled(C aContext, Class<T> aType) throws org.refcodes.exception.UnmarshalException
Same asUnmarshalFactory.toUnmarshaled(Object, Class)
passing the (source's) complement instead of the source.- Type Parameters:
T
- the generic type- Parameters:
aContext
- The context influencing the creation of the instance.aType
- The type identifying the instance to be created / retrieved.- Returns:
- The produced instance.
- Throws:
org.refcodes.exception.UnmarshalException
- the unmarshal exception
-
fromMarshaled
Object fromMarshaled(C aContext, Class<?>... aTypes) throws org.refcodes.exception.UnmarshalException
Same asUnmarshalFactory.toUnmarshaled(Object, Class...)
passing the (source's) complement instead of the source.- Parameters:
aContext
- The context influencing the creation of the instance.aTypes
- The types identifying or included by the instance to be created / retrieved.- Returns:
- The produced instance.
- Throws:
org.refcodes.exception.UnmarshalException
- the unmarshal exception
-
fromMarshaled
Object fromMarshaled(C aContext, Map<String,String> aProperties, Class<?>... aTypes) throws org.refcodes.exception.UnmarshalException
Same asUnmarshalFactory.toUnmarshaled(Object, Map, Class...)
passing the (source's) complement instead of the source.- Parameters:
aContext
- The context influencing the creation of the instance.aProperties
- the propertiesaTypes
- The types identifying or included by the instance to be created / retrieved.- Returns:
- The produced instance.
- Throws:
org.refcodes.exception.UnmarshalException
- the unmarshal exception
-
fromMarshaled
<T> T fromMarshaled(C aContext, Class<T> aType, Map<String,String> aProperties) throws org.refcodes.exception.UnmarshalException
Same asUnmarshalFactory.toUnmarshaled(Object, Class, Map)
passing the (source's) complement instead of the source.- Type Parameters:
T
- the generic type- Parameters:
aContext
- The context influencing the creation of the instance.aType
- The type identifying the instance to be created / retrieved.aProperties
- the properties- Returns:
- The produced instance.
- Throws:
org.refcodes.exception.UnmarshalException
- the unmarshal exception
-
-