public class DefaultNutsElementFactoryService extends Object implements NutsElementFactoryService
| Constructor and Description |
|---|
DefaultNutsElementFactoryService(NutsWorkspace ws,
NutsSession session) |
public DefaultNutsElementFactoryService(NutsWorkspace ws, NutsSession session)
public final void addDefaultFactory(Class cls, NutsElementMapper instance)
public final void setCoreMapper(Class cls, NutsElementMapper instance)
public final void setMapper(Class cls, NutsElementMapper instance)
public NutsElementMapper getMapper(Type type, boolean defaultOnly)
protected Object createObject(NutsElement o, Type to, NutsElementFactoryContext context, boolean defaultOnly)
public Object createObject(NutsElement o, Type to, NutsElementFactoryContext context)
createObject in interface NutsElementFactoryServicepublic Object defaultCreateObject(NutsElement o, Type to, NutsElementFactoryContext context)
defaultCreateObject in interface NutsElementFactoryServiceprotected Object destruct(Object o, Type expectedType, NutsElementFactoryContext context, boolean defaultOnly)
public Object destruct(Object o, Type expectedType, NutsElementFactoryContext context)
destruct in interface NutsElementFactoryServicepublic Object defaultDestruct(Object o, Type expectedType, NutsElementFactoryContext context)
defaultDestruct in interface NutsElementFactoryServiceprotected NutsElement createElement(Object o, Type expectedType, NutsElementFactoryContext context, boolean defaultOnly)
public NutsElement createElement(Object o, Type expectedType, NutsElementFactoryContext context)
createElement in interface NutsElementFactoryServicepublic NutsElement defaultCreateElement(Object o, Type expectedType, NutsElementFactoryContext context)
defaultCreateElement in interface NutsElementFactoryServiceCopyright © 2021 vpc open source initiative. All rights reserved.