public class ModelBuilder extends Object implements Builder
| Constructor and Description |
|---|
ModelBuilder() |
ModelBuilder(ClassLibrary classLibrary,
DocletTagFactory docletTagFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotation(Annotation annotation) |
void |
addField(FieldDef def) |
void |
addImport(String importName) |
void |
addJavaDoc(String text) |
void |
addJavaDocTag(TagDef tagDef) |
void |
addMethod(MethodDef def) |
void |
addPackage(String packageName) |
void |
beginClass(ClassDef def) |
Type |
createType(String typeName,
int dimensions) |
Type |
createType(TypeDef typeDef) |
Type |
createType(TypeDef typeDef,
int dimensions)
this one is specific for those cases where dimensions can be part of both the type and identifier
i.e.
|
void |
endClass() |
JavaSource |
getSource() |
public ModelBuilder()
public ModelBuilder(ClassLibrary classLibrary, DocletTagFactory docletTagFactory)
public void addPackage(String packageName)
addPackage in interface Builderpublic void addJavaDoc(String text)
addJavaDoc in interface Builderpublic void addJavaDocTag(TagDef tagDef)
addJavaDocTag in interface Builderpublic void beginClass(ClassDef def)
beginClass in interface Builderpublic Type createType(String typeName, int dimensions)
createType in interface Builderpublic Type createType(TypeDef typeDef)
createType in interface Builderpublic Type createType(TypeDef typeDef, int dimensions)
typeDef - dimensions - public void addAnnotation(Annotation annotation)
addAnnotation in interface Builderpublic JavaSource getSource()
Copyright © 2002-2013. All Rights Reserved.