Package com.fluxtion.builder.node
Class DeclarativeNodeConiguration
java.lang.Object
com.fluxtion.builder.node.DeclarativeNodeConiguration
public final class DeclarativeNodeConiguration
extends java.lang.Object
Provides data driven SEP generation.
Doc to be completed
- Author:
- Greg Higgins
-
Field Summary
Fields Modifier and Type Field Description java.util.Mapconfigthe configuration used to generate the nodesjava.util.Set<java.lang.Class<? extends NodeFactory>>factoryClassSetThe set of factory classes used for node creation, each factory must have default constructor so the SEP can instantiate the factory.java.util.Set<NodeFactory<?>>factorySetThe factory instances registered that can create new new instances of nodes.java.util.Map<java.lang.Class,java.lang.String>rootNodeMappingsThe root nodes to create and the variable names they should be mapped to. -
Constructor Summary
Constructors Constructor Description DeclarativeNodeConiguration(java.util.Map<java.lang.Class,java.lang.String> rootNodeMappings, java.util.Set<java.lang.Class<? extends NodeFactory>> factoryList, java.util.Map config)DeclarativeNodeConiguration(java.util.Map<java.lang.Class,java.lang.String> rootNodeMappings, java.util.Set<java.lang.Class<? extends NodeFactory>> factoryList, java.util.Map config, java.util.Set<NodeFactory<?>> factorySet) -
Method Summary
-
Field Details
-
rootNodeMappings
public final java.util.Map<java.lang.Class,java.lang.String> rootNodeMappingsThe root nodes to create and the variable names they should be mapped to. -
factoryClassSet
The set of factory classes used for node creation, each factory must have default constructor so the SEP can instantiate the factory. The classes in factoryClassSet are instantiated and merged into the factorySet instances. -
factorySet
The factory instances registered that can create new new instances of nodes. -
config
public final java.util.Map configthe configuration used to generate the nodes
-
-
Constructor Details
-
DeclarativeNodeConiguration
public DeclarativeNodeConiguration(java.util.Map<java.lang.Class,java.lang.String> rootNodeMappings, java.util.Set<java.lang.Class<? extends NodeFactory>> factoryList, java.util.Map config) -
DeclarativeNodeConiguration
public DeclarativeNodeConiguration(java.util.Map<java.lang.Class,java.lang.String> rootNodeMappings, java.util.Set<java.lang.Class<? extends NodeFactory>> factoryList, java.util.Map config, java.util.Set<NodeFactory<?>> factorySet)- Parameters:
rootNodeMappings-factoryList-config-factorySet-
-
-
Method Details