public class NReflectMapperImpl extends Object implements NReflectMapper
| Modifier and Type | Class and Description |
|---|---|
static class |
NReflectMapperImpl.SPath |
static class |
NReflectMapperImpl.TypeConverterKey |
NReflectMapper.Context, NReflectMapper.Converter| Modifier and Type | Field and Description |
|---|---|
static TypeMapperRepositoryDef |
globalMapperRepositoryDef |
static NReflectMapper.Converter |
IDENTITY_CONVERTER |
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
NReflectMapperImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
copy(Object from,
Object to) |
NReflectMapperContext |
createContext() |
NReflectRepository |
getReflectRepository() |
int |
getScore(NScorableContext context) |
<A,B> B |
mapToType(A a,
Class<B> b) |
Object |
mapToType(Object from,
NReflectType to) |
Object |
mapToType(Object from,
Type to) |
NReflectMapper |
setReflectRepository(NReflectRepository reflectRepository) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofisValidScore, query, querypublic static final NReflectMapper.Converter IDENTITY_CONVERTER
public static final TypeMapperRepositoryDef globalMapperRepositoryDef
public NReflectRepository getReflectRepository()
getReflectRepository in interface NReflectMapperpublic NReflectMapper setReflectRepository(NReflectRepository reflectRepository)
setReflectRepository in interface NReflectMapperpublic int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorablepublic <A,B> B mapToType(A a,
Class<B> b)
public NReflectMapperContext createContext()
public Object mapToType(Object from, Type to)
mapToType in interface NReflectMapperpublic Object mapToType(Object from, NReflectType to)
mapToType in interface NReflectMapperpublic boolean copy(Object from, Object to)
copy in interface NReflectMapperCopyright © 2025 vpc open source initiative. All rights reserved.