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