|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.xml.generator.ModelBuilder
public final class ModelBuilder
A model builder. This class performs the work of creating a class description model from a set of source files.
| Method Summary | |
|---|---|
void |
addAttributeHandlers(java.util.Properties p)
Adds attribute handlers. |
DescriptionModel |
buildModel(SourceCollector c,
DescriptionModel model)
Builds a model from the classes provided by the SourceCollector. |
PropertyInfo |
createSimplePropertyInfo(java.beans.PropertyDescriptor pd)
Creates a PropertyInfo object from a PropertyDescriptor. |
static ModelBuilder |
getInstance()
Returns the single instance of this class. |
static boolean |
isValidMethod(java.lang.reflect.Method method)
Checks, whether the given method can be called from the generic object factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ModelBuilder getInstance()
public void addAttributeHandlers(java.util.Properties p)
p - the handlers.
public DescriptionModel buildModel(SourceCollector c,
DescriptionModel model)
SourceCollector.
The DescriptionGenerator class invokes this.
c - the source collector.model - the model under construction (null permitted).
public static boolean isValidMethod(java.lang.reflect.Method method)
method - the method descriptor
public PropertyInfo createSimplePropertyInfo(java.beans.PropertyDescriptor pd)
PropertyInfo object from a PropertyDescriptor.
pd - the property descriptor.
null possible).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||