public class DefaultNutsElementFactoryContext extends Object implements NutsElementFactoryContext
| Constructor and Description |
|---|
DefaultNutsElementFactoryContext(DefaultNutsElementFormat base) |
| Modifier and Type | Method and Description |
|---|---|
Object |
defaultDestruct(Object o,
Type expectedType) |
<T> T |
defaultElementToObject(NutsElement o,
Class<T> type) |
Object |
defaultElementToObject(NutsElement o,
Type type) |
NutsElement |
defaultObjectToElement(Object o,
Type expectedType) |
Object |
destruct(Object o,
Type expectedType) |
NutsElementFormat |
element() |
<T> T |
elementToObject(NutsElement o,
Class<T> type) |
Object |
elementToObject(NutsElement o,
Type type) |
Predicate<Type> |
getDestructTypeFilter() |
Map<String,Object> |
getProperties() |
NutsSession |
getSession() |
NutsWorkspace |
getWorkspace() |
NutsElement |
objectToElement(Object o,
Type expectedType) |
public DefaultNutsElementFactoryContext(DefaultNutsElementFormat base)
public NutsSession getSession()
getSession in interface NutsElementFactoryContextpublic NutsWorkspace getWorkspace()
getWorkspace in interface NutsElementFactoryContextpublic NutsElementFormat element()
element in interface NutsElementFactoryContextpublic Map<String,Object> getProperties()
getProperties in interface NutsElementFactoryContextpublic Predicate<Type> getDestructTypeFilter()
getDestructTypeFilter in interface NutsElementFactoryContextpublic Object defaultDestruct(Object o, Type expectedType)
defaultDestruct in interface NutsElementFactoryContextpublic Object destruct(Object o, Type expectedType)
destruct in interface NutsElementFactoryContextpublic NutsElement objectToElement(Object o, Type expectedType)
objectToElement in interface NutsElementFactoryContextpublic <T> T elementToObject(NutsElement o, Class<T> type)
elementToObject in interface NutsElementFactoryContextpublic <T> T defaultElementToObject(NutsElement o, Class<T> type)
defaultElementToObject in interface NutsElementFactoryContextpublic Object elementToObject(NutsElement o, Type type)
elementToObject in interface NutsElementFactoryContextpublic NutsElement defaultObjectToElement(Object o, Type expectedType)
defaultObjectToElement in interface NutsElementFactoryContextpublic Object defaultElementToObject(NutsElement o, Type type)
defaultElementToObject in interface NutsElementFactoryContextCopyright © 2021 vpc open source initiative. All rights reserved.