public class NodeGenerator extends Object
Constructor and Description |
---|
NodeGenerator(String packageName) |
Modifier and Type | Method and Description |
---|---|
void |
generateSources(Iterable<NodeDescriptor> nodes,
File sourceDir)
Create Java source files for nodes described in a node file.
|
public NodeGenerator(String packageName)
public void generateSources(Iterable<NodeDescriptor> nodes, File sourceDir) throws IOException
nodes
- A description of the nodes to generate Java sources for.sourceDir
- The directory to place generated files in.IOException
Copyright © 2003–2018 Jamon developers. All rights reserved.