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