org.jfree.xml.generator.model
public class DescriptionModel extends Object
Constructor Summary | |
---|---|
DescriptionModel()
Creates a new class description model. |
Method Summary | |
---|---|
void | addClassDescription(ClassDescription cd)
Adds a class description to the model.
|
void | addIncludeComment(String source, Comments comments)
Adds an include comment.
|
void | addSource(String source)
Adds a source to the model description.
|
ClassDescription | get(int index)
Returns a class description.
|
ClassDescription | get(Class key)
Returns a class description for the given class name.
|
Comments | getIncludeComment(String source)
Returns the include comment for the specified source.
|
MappingModel | getMappingModel()
Returns the mapping model.
|
Comments | getModelComments()
Returns the model comments.
|
String[] | getSources()
Returns the sources for the model description.
|
void | prune()
Removes any class descriptions that are not fully defined. |
void | removeClassDescription(ClassDescription cd)
Removes a class description from the model.
|
void | setModelComments(Comments modelComments)
Sets the model comments.
|
int | size()
Returns the number of classes in the model.
|
Parameters: cd the class description.
Parameters: source the source. comments the comments.
Parameters: source the source.
Parameters: index the description index (zero-based).
Returns: a class description.
Parameters: key the class name.
Returns: the class description.
Parameters: source the source.
Returns: The include comment.
Returns: the mapping model.
Returns: The model comments.
Returns: The sources.
Parameters: cd the class description.
Parameters: modelComments the model comments.
Returns: the number of classes in the model.