| Package | Description | 
|---|---|
| cb.generator | 
 This package contains bases classes and interfaces for the generators. 
 | 
| cb.generator.java | 
 This package contains a simple Java generator that reads in a PetalFile tree as input. 
 | 
| cb.parser | 
 This package contains the Parser for Rational Rose Petal files. 
 | 
| cb.petal | |
| cb.petaltools | |
| cb.util | |
| cb.xmi | 
| Modifier and Type | Method and Description | 
|---|---|
PetalFile | 
Generator.getTree()  | 
PetalFile | 
GeneratorVisitor.getTree()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Generator.setTree(PetalFile file)  | 
void | 
GeneratorVisitor.setTree(PetalFile tree)  | 
| Constructor and Description | 
|---|
JavaGenerator(PetalFile tree,
             File dump)
generate the java code 
 | 
JavaGenerator(PetalFile tree,
             File dump,
             String suffix)
generate the java code with the given suffix 
 | 
JavaGenerator(PetalFile tree,
             String dump_path)
generate java from the given dump_path 
 | 
| Modifier and Type | Method and Description | 
|---|---|
PetalFile | 
Parser.parse()
Top level construct are always petal and design objects 
 | 
PetalFile | 
PetalParser.parse()
Top level construct are always petal and design objects 
 | 
static PetalFile | 
Parser.parse(File file)  | 
static PetalFile | 
Parser.parse(InputStream stream)  | 
static PetalFile | 
Parser.parse(Reader stream)  | 
static PetalFile | 
Parser.parse(String file_name)  | 
static PetalFile | 
PetalParser.parse(String[] args)
Utility method for main 
 | 
static PetalFile | 
PetalParser.parse(String[] args,
     Map pathMap)
Utility method for main 
 | 
static PetalFile | 
Parser.parse(URL url)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PrintVisitor.visit(PetalFile obj)
visit the given PetalFile object 
 | 
| Modifier and Type | Method and Description | 
|---|---|
PetalFile | 
PetalObject.getRoot()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
EmptyVisitor.visit(PetalFile obj)  | 
void | 
Visitor.visit(PetalFile obj)
visit the PetalFile 
 | 
void | 
DescendingVisitor.visit(PetalFile obj)
visit the given PetalFile 
 | 
| Modifier and Type | Method and Description | 
|---|---|
PetalFile | 
PetalTool.getTree(String input)
get the PetalFile Tree for the given input 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PetalTreeView.showTree(PetalFile tree,
        Object lock)
show the given Tree 
 | 
| Modifier and Type | Method and Description | 
|---|---|
PetalFile | 
PetalObjectFactory.createModel()
Creates empty model. 
 | 
| Constructor and Description | 
|---|
PetalTree(PetalFile tree)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected PetalFile | 
XMIFactory.tree  | 
| Modifier and Type | Method and Description | 
|---|---|
PetalFile | 
RoseGenerator.getModel()
alias for getTree - just delegates this call 
 | 
| Constructor and Description | 
|---|
XMIFactory(PetalFile tree,
          XMIGenerator gen)
create me with the given PetalFile 
 | 
XMIGenerator(PetalFile tree,
            String dump)  | 
Copyright © 2018 BITPlan GmbH. All rights reserved.