public class DefaultNElementFactoryContext extends Object implements NElementFactoryContext
| Constructor and Description |
|---|
DefaultNElementFactoryContext(boolean ntf,
NReflectRepository repository,
UserElementMapperStore userElementMapperStore) |
public DefaultNElementFactoryContext(boolean ntf,
NReflectRepository repository,
UserElementMapperStore userElementMapperStore)
public NElement toElement(Object o)
toElement in interface NElementFactoryContextpublic <T> NElementSerializer<T> getSerializer(Type type, boolean defaultOnly)
getSerializer in interface NElementFactoryContextpublic <T> NElementSimplifier<T> getSimplifier(Type type, boolean defaultOnly)
getSimplifier in interface NElementFactoryContextpublic <T> NElementDeserializer<T> getDeserializer(Type type, boolean defaultOnly)
getDeserializer in interface NElementFactoryContextpublic <T> NElementDeserializer<T> getDeserializer(NElement element, boolean defaultOnly)
getDeserializer in interface NElementFactoryContextpublic Predicate<Type> getSimpleTypesFilter()
getSimpleTypesFilter in interface NElementFactoryContextpublic boolean isSimpleObject(Object any)
isSimpleObject in interface NElementFactoryContextpublic boolean isSimpleType(Type any)
isSimpleType in interface NElementFactoryContextpublic boolean isAtomicObject(Object any)
isAtomicObject in interface NElementFactoryContextpublic boolean isAtomicType(Type any)
isAtomicType in interface NElementFactoryContextpublic Map<String,Object> getProperties()
getProperties in interface NElementFactoryContextpublic NElement defaultCreateElement(Object o, Type expectedType)
defaultCreateElement in interface NElementFactoryContextpublic Object defaultToSimple(Object o, Type expectedType)
defaultToSimple in interface NElementFactoryContextpublic NElement toElement(Object o, Type expectedType)
toElement in interface NElementFactoryContextpublic Object toSimple(Object o, Type expectedType)
toSimple in interface NElementFactoryContextpublic <T> T toObject(NElement o, Class<T> type)
toObject in interface NElementFactoryContextpublic Object toObject(NElement o, Type type)
toObject in interface NElementFactoryContextpublic <T> T defaultToObject(NElement o, Class<T> type)
defaultToObject in interface NElementFactoryContextpublic <T> T defaultToObject(NElement o, Type type)
defaultToObject in interface NElementFactoryContextpublic boolean isNtf()
isNtf in interface NElementFactoryContextpublic DefaultNElementFactoryContext setNtf(boolean ntf)
public NReflectRepository getTypesRepository()
getTypesRepository in interface NElementFactoryContextCopyright © 2026 vpc open source initiative. All rights reserved.