|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectit.avutils.jmapper.dsl.MapperBuilder
public class MapperBuilder
MapperBuilder increases the readability of the code to retrieve the parameters necessary
to create or find a new IMapper class.
For example:
from(source).to(destination)
.analyzing(config)
.presentIn(xmlPath)
| Method Summary | ||
|---|---|---|
MapperBuilder |
analyzing(ChooseConfig config)
This method set the config instance variable. |
|
boolean |
exist()
|
|
static MapperBuilder |
from(Class<?> source)
Starting point for parameters setting. |
|
|
generate()
|
|
|
get()
|
|
MapperBuilder |
presentIn(String xmlPath)
This method set the xmlPath instance variable. |
|
MapperBuilder |
to(Class<?> destination)
This method set the destination instance variable. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean exist()
public <D,S> Class<IMapper<D,S>> get()
public <D,S> Class<IMapper<D,S>> generate()
throws javassist.NotFoundException,
Exception
javassist.NotFoundException
Exceptionpublic static MapperBuilder from(Class<?> source)
source - source to set
public MapperBuilder to(Class<?> destination)
destination - destination to set
public MapperBuilder analyzing(ChooseConfig config)
config - configuration to set
public MapperBuilder presentIn(String xmlPath)
xmlPath - xml path to set
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||