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