public class BeanBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BeanBuilder.KnownValueEnumeration |
| Modifier and Type | Field and Description |
|---|---|
protected CodeGeneratorFactory |
codeGenFactory |
protected GenBeans.Config |
config |
protected Map |
constNameMap |
protected String |
genDir |
protected Map |
illegalClassNames |
protected String |
packageName |
protected String |
packagePath |
protected TreeParser |
parser |
protected org.netbeans.modules.schema2beansdev.BeanBuilder.BeanElement |
rootElement |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttrProp(CodeGeneratorClass bc,
AttrProp attr,
String propertyName,
Map usedNames,
int groupInstance,
boolean directChild) |
protected void |
addAttrProps(CodeGeneratorClass bc,
AttrProp[] attrs,
String propertyName,
Map usedNames,
int groupInstance,
boolean directChild) |
protected void |
addCommentsProcessing(CodeGeneratorClass bc) |
protected void |
close(OutputStream out) |
protected void |
close(Writer out) |
protected BeanGraph |
generateBeanGraph(GraphNode[] list) |
protected void |
generateDotGraph(Writer out,
GraphLink l,
Map doneLinks) |
protected void |
generateDotGraph(Writer out,
GraphNode node)
Generate a .dot file for the dot or dotty program to run with.
|
protected void |
generateDotGraph(Writer out,
List children,
Map doneLinks) |
protected void |
generateInterface(String genDir,
String packageName,
String name,
List methods,
String comments,
String extendsStatement) |
protected void |
generateTagsFile(OutputStream out,
String packageName,
String className) |
protected void |
processFinder(GraphNode rootGraphNode,
String finderExpr) |
protected void |
processFinders(GraphNode rootGraphNode) |
protected void |
setSchemaType(GraphNode[] list) |
protected GenBeans.Config config
protected CodeGeneratorFactory codeGenFactory
protected org.netbeans.modules.schema2beansdev.BeanBuilder.BeanElement rootElement
protected String genDir
protected String packagePath
protected String packageName
protected TreeParser parser
protected Map constNameMap
protected Map illegalClassNames
protected void addAttrProps(CodeGeneratorClass bc, AttrProp[] attrs, String propertyName, Map usedNames, int groupInstance, boolean directChild)
protected void addAttrProp(CodeGeneratorClass bc, AttrProp attr, String propertyName, Map usedNames, int groupInstance, boolean directChild)
protected void addCommentsProcessing(CodeGeneratorClass bc)
protected void processFinders(GraphNode rootGraphNode)
protected void setSchemaType(GraphNode[] list)
protected void generateInterface(String genDir, String packageName, String name, List methods, String comments, String extendsStatement) throws IOException
IOExceptionprotected void generateDotGraph(Writer out, GraphNode node) throws IOException
IOExceptionprotected void generateDotGraph(Writer out, List children, Map doneLinks) throws IOException
IOExceptionprotected void generateDotGraph(Writer out, GraphLink l, Map doneLinks) throws IOException
IOExceptionprotected void generateTagsFile(OutputStream out, String packageName, String className) throws IOException
IOExceptionprotected void close(OutputStream out) throws IOException
IOExceptionprotected void close(Writer out) throws IOException
IOExceptionCopyright © 2017. All Rights Reserved.