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 |
createElement(Object o) |
net.thevpc.nuts.elem.NElement |
createElement(Object o,
Type expectedType) |
<T> T |
createObject(net.thevpc.nuts.elem.NElement o,
Class<T> type) |
Object |
createObject(net.thevpc.nuts.elem.NElement o,
Type type) |
net.thevpc.nuts.elem.NElement |
defaultCreateElement(Object o,
Type expectedType) |
<T> T |
defaultCreateObject(net.thevpc.nuts.elem.NElement o,
Class<T> type) |
<T> T |
defaultCreateObject(net.thevpc.nuts.elem.NElement o,
Type type) |
Object |
defaultDestruct(Object o,
Type expectedType) |
Object |
destruct(Object o,
Type expectedType) |
Predicate<Type> |
getIndestructibleTypesFilter() |
<T> net.thevpc.nuts.elem.NElementMapper<T> |
getMapper(net.thevpc.nuts.elem.NElement element,
boolean defaultOnly) |
net.thevpc.nuts.elem.NElementMapper |
getMapper(Type type,
boolean defaultOnly) |
Map<String,Object> |
getProperties() |
net.thevpc.nuts.reflect.NReflectRepository |
getTypesRepository() |
boolean |
isIndestructibleObject(Object any) |
boolean |
isIndestructibleType(Type any) |
boolean |
isNtf() |
boolean |
isSimpleObject(Object any) |
boolean |
isSimpleType(Type any) |
DefaultNElementFactoryContext |
setNtf(boolean ntf) |
public DefaultNElementFactoryContext(boolean ntf,
net.thevpc.nuts.reflect.NReflectRepository repository,
UserElementMapperStore userElementMapperStore)
public net.thevpc.nuts.elem.NElement createElement(Object o)
createElement in interface net.thevpc.nuts.elem.NElementFactoryContextpublic net.thevpc.nuts.elem.NElementMapper getMapper(Type type, boolean defaultOnly)
getMapper in interface net.thevpc.nuts.elem.NElementFactoryContextpublic <T> net.thevpc.nuts.elem.NElementMapper<T> getMapper(net.thevpc.nuts.elem.NElement element,
boolean defaultOnly)
getMapper in interface net.thevpc.nuts.elem.NElementFactoryContextpublic Predicate<Type> getIndestructibleTypesFilter()
getIndestructibleTypesFilter in interface net.thevpc.nuts.elem.NElementFactoryContextpublic boolean isIndestructibleObject(Object any)
isIndestructibleObject in interface net.thevpc.nuts.elem.NElementFactoryContextpublic boolean isIndestructibleType(Type any)
isIndestructibleType 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 Map<String,Object> getProperties()
getProperties 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 defaultDestruct(Object o, Type expectedType)
defaultDestruct in interface net.thevpc.nuts.elem.NElementFactoryContextpublic net.thevpc.nuts.elem.NElement createElement(Object o, Type expectedType)
createElement in interface net.thevpc.nuts.elem.NElementFactoryContextpublic Object destruct(Object o, Type expectedType)
destruct in interface net.thevpc.nuts.elem.NElementFactoryContextpublic <T> T createObject(net.thevpc.nuts.elem.NElement o,
Class<T> type)
createObject in interface net.thevpc.nuts.elem.NElementFactoryContextpublic Object createObject(net.thevpc.nuts.elem.NElement o, Type type)
createObject in interface net.thevpc.nuts.elem.NElementFactoryContextpublic <T> T defaultCreateObject(net.thevpc.nuts.elem.NElement o,
Class<T> type)
defaultCreateObject in interface net.thevpc.nuts.elem.NElementFactoryContextpublic <T> T defaultCreateObject(net.thevpc.nuts.elem.NElement o,
Type type)
defaultCreateObject 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 getTypesRepository()
getTypesRepository in interface net.thevpc.nuts.elem.NElementFactoryContextCopyright © 2025 vpc open source initiative. All rights reserved.