-
public final class MapperTypeWrapper<T extends View>A wrapper holding a a WireframeMapper and the type it's associated with.
-
-
Constructor Summary
Constructors Constructor Description MapperTypeWrapper(Class<T> type, WireframeMapper<T> mapper)
-
Method Summary
Modifier and Type Method Description final BooleansupportsView(View view)Checks whether the underlying mapper would support mapping the given view. final WireframeMapper<View>getUnsafeMapper()Returns the mapper unsafely casted to WireframeMapper<View>. Booleanequals(Object other)IntegerhashCode()-
-
Constructor Detail
-
MapperTypeWrapper
MapperTypeWrapper(Class<T> type, WireframeMapper<T> mapper)
- Parameters:
type- the Class representing the view typemapper- the WireframeMapper
-
-
Method Detail
-
supportsView
final Boolean supportsView(View view)
Checks whether the underlying mapper would support mapping the given view.
- Parameters:
view- the view to map
-
getUnsafeMapper
final WireframeMapper<View> getUnsafeMapper()
Returns the mapper unsafely casted to WireframeMapper<View>.
-
-
-
-