Package | Description |
---|---|
fx.codegen.common.util | |
fx.codegen.config.stock.converter | |
fx.codegen.converter |
Provides out of the box converters for various CodeGen data types
|
fx.codegen.model | |
fx.codegen.preprocessor.stock | |
fx.codegen.preprocessor.stock.builder | |
fx.codegen.preprocessor.stock.refactoringconsumers |
Provides stock consumers for use with the
EntityNamesRefactoringCodegenPreprocessor class |
fx.codegen.runner.stock.abstraction | |
fx.codegen.runner.stock.abstraction.templateengineabstraction |
This package contains stock implementations of the
TempalteEngineAbstraction |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ConfigNodeUtil.getFullyQualifiedName(ConfigNode configNode,
java.lang.String separatorSequence)
Runs through all parents of the node until the root of the tree and forms
the FQN of the node by combining the names of all parents while using the
given separatorSequence
|
static void |
ConfigLoopingUtil.processNodeAndChildren(ConfigNode configNode,
java.util.function.Predicate<ConfigNode> filteringPolicy,
java.util.function.Consumer<ConfigNode> consumer) |
Modifier and Type | Method and Description |
---|---|
static void |
ConfigLoopingUtil.processConfigNodes(java.util.List<ConfigNode> configNodes,
java.util.function.Predicate<ConfigNode> filteringPolicy,
java.util.function.Consumer<ConfigNode> consumer)
Processes the given list of nodes and their children while applying the
given filtering policy
|
static void |
ConfigLoopingUtil.processConfigNodes(java.util.List<ConfigNode> configNodes,
java.util.function.Predicate<ConfigNode> filteringPolicy,
java.util.function.Consumer<ConfigNode> consumer)
Processes the given list of nodes and their children while applying the
given filtering policy
|
static void |
ConfigLoopingUtil.processConfigNodes(java.util.List<ConfigNode> configNodes,
java.util.function.Predicate<ConfigNode> filteringPolicy,
java.util.function.Consumer<ConfigNode> consumer)
Processes the given list of nodes and their children while applying the
given filtering policy
|
static void |
ConfigLoopingUtil.processNodeAndChildren(ConfigNode configNode,
java.util.function.Predicate<ConfigNode> filteringPolicy,
java.util.function.Consumer<ConfigNode> consumer) |
static void |
ConfigLoopingUtil.processNodeAndChildren(ConfigNode configNode,
java.util.function.Predicate<ConfigNode> filteringPolicy,
java.util.function.Consumer<ConfigNode> consumer) |
Modifier and Type | Method and Description |
---|---|
static ConfigNode |
IndentedTextNodeConverter.toConfigNode(IndentedTextNode textNode)
Converts the referenced textNode and it's child nodes
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<CodegenPreprocessor> |
RefactoringConsumerConverter.toNodesRefactoringCodegenPreprocessors(java.util.List<java.util.function.Consumer<ConfigNode>> refactoringConsumers) |
Modifier and Type | Method and Description |
---|---|
ConfigNode |
ConfigNode.getFirstChildWithOtherTypeNode(ConfigNode typeNode) |
ConfigNode |
ConfigNode.getFirstChildWithTypeNode(ConfigNode typeNode) |
ConfigNode |
ConfigNode.getFirstUniqueKeyNode() |
ConfigNode |
ConfigRoot.getNode(java.lang.String nodeName) |
ConfigNode |
ConfigNode.getParent()
Returns a reference to the parent node, or null in case of top-level
nodes.
|
ConfigNode |
ConfigNode.getTypeNode()
If the node references another node within the same
data model , then the referenced node
will be set as the current node's type node. |
Modifier and Type | Method and Description |
---|---|
java.util.List<ConfigNode> |
ConfigNode.getChildren() |
java.util.List<ConfigNode> |
ConfigNode.getChildrenWithTypesOrWithKeysOfTypes(java.util.List<java.lang.String> typeNames)
Compiles a list of children having one of the specified types or having
type nodes with unique keys of the specified types, to be used for
iteration within templates.
|
java.util.List<ConfigNode> |
ConfigRoot.getNodes() |
java.util.List<ConfigNode> |
ConfigNode.getNonPrimitiveChildrenWithKeysOfTypes(java.util.List<java.lang.String> typeNames)
Compiles a list of non-primitive children with type nodes for which the
first unique key has one of the given types
hasNonPrimitiveChildrenWithKeysOfTypes(List) |
java.util.List<ConfigNode> |
ConfigNode.getPrimitiveChildrenWithTypes(java.util.List<java.lang.String> typeNames)
Compiles a list of primitive children having one of the given types
|
java.util.List<java.util.List<ConfigNode>> |
ConfigNode.getSimilarChildGroups()
Returns a list of the different groups of similar nodes.
|
java.util.List<java.util.List<ConfigNode>> |
ConfigNode.getSimilarTypesChildGroups()
Returns a list of groups of child nodes with the same
type nodes |
java.util.List<ConfigNode> |
ConfigNode.getUniqueAttributeTypeNodes()
Returns a consolidated list of references to the
type nodes of each child of the current node. |
Modifier and Type | Method and Description |
---|---|
void |
ConfigNode.addChild(ConfigNode configNode) |
void |
ConfigRoot.addNode(ConfigNode node) |
void |
ConfigNode.addUniqueAttributeTypeNode(ConfigNode attributeTypeNode) |
ConfigNode |
ConfigNode.getFirstChildWithOtherTypeNode(ConfigNode typeNode) |
ConfigNode |
ConfigNode.getFirstChildWithTypeNode(ConfigNode typeNode) |
boolean |
ConfigNode.hasChildrenWithOtherTypeNode(ConfigNode typeNode)
True if the node has at least one child node which has a
type node which is different than the given type
node |
boolean |
ConfigNode.hasChildrenWithTypeNode(ConfigNode typeNode)
True if the node has at least one child node having the referenced
type node |
void |
ConfigNode.setParent(ConfigNode parent) |
void |
ConfigNode.setTypeNode(ConfigNode typeNode) |
Modifier and Type | Method and Description |
---|---|
void |
ConfigNode.addSimilarChildGroup(java.util.List<ConfigNode> similarChildGrup) |
void |
ConfigNode.addSimilarTypesChildGroup(java.util.List<ConfigNode> group) |
void |
ConfigNode.setChildren(java.util.List<ConfigNode> children) |
void |
ConfigRoot.setNodes(java.util.List<ConfigNode> nodes) |
void |
ConfigNode.setSimilarChildGroups(java.util.List<java.util.List<ConfigNode>> similarChildGroups) |
void |
ConfigNode.setSimilarTypesChildGroups(java.util.List<java.util.List<ConfigNode>> similarTypesChildGroups) |
void |
ConfigNode.setUniqueAttributeTypeNodes(java.util.List<ConfigNode> uniqueAttributeTypeNodes) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Consumer<ConfigNode> |
NodesRefactoringCodegenPreprocessor.getRefactoringConsumer() |
Modifier and Type | Method and Description |
---|---|
static boolean |
SimilarTypesChildGroupsIdentifyingCodegenPreprocessor.nodeTypeNodesAreSimilar(ConfigNode node1,
ConfigNode node2) |
Modifier and Type | Method and Description |
---|---|
void |
NodesRefactoringCodegenPreprocessor.setRefactoringConsumer(java.util.function.Consumer<ConfigNode> refactoringConsumer) |
Constructor and Description |
---|
NodesRefactoringCodegenPreprocessor(java.util.function.Consumer<ConfigNode> refactoringConsumer) |
Modifier and Type | Method and Description |
---|---|
NodesRefactoringCodegenPreprocessorBuilder |
NodesRefactoringCodegenPreprocessorBuilder.withRefactoringConsumer(java.util.function.Consumer<ConfigNode> refactoringConsumer) |
Modifier and Type | Method and Description |
---|---|
void |
ConfigNodeRefactoringConsumer.accept(ConfigNode configNode) |
Modifier and Type | Method and Description |
---|---|
void |
TemplateEngineAbstraction.injectCurrentNode(ConfigNode configNode) |
Modifier and Type | Method and Description |
---|---|
ConfigNode |
FreeMarkerTemplateEngineAbstraction.DataModel.getConfigNode() |
Modifier and Type | Method and Description |
---|---|
void |
FreeMarkerTemplateEngineAbstraction.injectCurrentNode(ConfigNode configNode) |
void |
FreeMarkerTemplateEngineAbstraction.DataModel.setConfigNode(ConfigNode configNode) |