public class FixtureConverterImpl extends Object implements FixtureConverter
FixtureConverter| Constructor and Description |
|---|
FixtureConverterImpl(MapperMediator mapperMediator,
ConverterFactory converterFactory)
Create a FixtureConverterImpl
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convert(FixtureList fixtureList,
com.google.common.reflect.TypeToken<?> typeToken)
Convert the fixtureList to the given TypeToken
|
protected Object |
convert(FixtureMap fixtureMap,
com.google.common.reflect.TypeToken<?> typeToken)
Convert FixtureMap to given type
|
Object |
convert(FixtureTemplate fixtureTemplate,
com.google.common.reflect.TypeToken typeToken)
Convert the fixtureTemplate to the give type.
|
protected Object |
convert(FixtureValue fixtureValue,
com.google.common.reflect.TypeToken<?> typeToken)
Convert the fixtureValue to the given TypeToken
|
ConverterFactory |
getConverterFactory()
Get converterFactory
|
FixtureMapper |
getFixtureMapper()
Get fixtureMapper
|
MapperMediator |
getMapperMediator()
Get mapperMediator
|
public FixtureConverterImpl(MapperMediator mapperMediator, ConverterFactory converterFactory)
mapperMediator - converterFactory - public Object convert(FixtureTemplate fixtureTemplate, com.google.common.reflect.TypeToken typeToken)
FixtureConverterconvert in interface FixtureConverterpublic ConverterFactory getConverterFactory()
public MapperMediator getMapperMediator()
public FixtureMapper getFixtureMapper()
protected Object convert(FixtureValue fixtureValue, com.google.common.reflect.TypeToken<?> typeToken)
fixtureValue - the FixtureValuetypeToken - the TypeTokenprotected Object convert(FixtureList fixtureList, com.google.common.reflect.TypeToken<?> typeToken)
fixtureList - typeToken - IllegalAccessExceptionInstantiationExceptionprotected Object convert(FixtureMap fixtureMap, com.google.common.reflect.TypeToken<?> typeToken)
fixtureMap - typeToken - IllegalAccessExceptionInstantiationExceptionCopyright © 2018. All rights reserved.