org.jfree.xml.generator
public final class ModelBuilder extends Object
Method Summary | |
---|---|
void | addAttributeHandlers(Properties p)
Adds attribute handlers.
|
DescriptionModel | buildModel(SourceCollector c, DescriptionModel model)
Builds a model from the classes provided by the SourceCollector.
|
PropertyInfo | createSimplePropertyInfo(PropertyDescriptor pd)
Creates a PropertyInfo object from a PropertyDescriptor.
|
static ModelBuilder | getInstance()
Returns the single instance of this class.
|
static boolean | isValidMethod(Method method)
Checks, whether the given method can be called from the generic object factory.
|
Parameters: p the handlers.
The DescriptionGenerator class invokes this.
Parameters: c the source collector. model the model under construction (null
permitted).
Returns: The completed model.
Parameters: pd the property descriptor.
Returns: the property info (null
possible).
Returns: the single instance of this class.
Parameters: method the method descriptor
Returns: true, if the method is not null and public, false otherwise.