|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.xml.generator.model.DescriptionModel
public class DescriptionModel
A model containing class descriptions.
Constructor Summary | |
---|---|
DescriptionModel()
Creates a new class description model. |
Method Summary | |
---|---|
void |
addClassDescription(ClassDescription cd)
Adds a class description to the model. |
void |
addIncludeComment(java.lang.String source,
Comments comments)
Adds an include comment. |
void |
addSource(java.lang.String source)
Adds a source to the model description. |
ClassDescription |
get(java.lang.Class key)
Returns a class description for the given class name. |
ClassDescription |
get(int index)
Returns a class description. |
Comments |
getIncludeComment(java.lang.String source)
Returns the include comment for the specified source. |
MappingModel |
getMappingModel()
Returns the mapping model. |
Comments |
getModelComments()
Returns the model comments. |
java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DescriptionModel()
Method Detail |
---|
public void addClassDescription(ClassDescription cd)
cd
- the class description.public void removeClassDescription(ClassDescription cd)
cd
- the class description.public ClassDescription get(int index)
index
- the description index (zero-based).
public ClassDescription get(java.lang.Class key)
key
- the class name.
public int size()
public MappingModel getMappingModel()
public void addSource(java.lang.String source)
source
- the source.public java.lang.String[] getSources()
public void prune()
public void addIncludeComment(java.lang.String source, Comments comments)
source
- the source.comments
- the comments.public Comments getIncludeComment(java.lang.String source)
source
- the source.
public Comments getModelComments()
public void setModelComments(Comments modelComments)
modelComments
- the model comments.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |