|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.xml.util.GenericObjectFactory
The generic object factory contains all methods necessary to collect the property values needed to produce a fully instantiated object.
Constructor Summary | |
GenericObjectFactory(java.lang.Class c,
java.lang.String registerName,
ConstructorDefinition[] constructors,
PropertyDefinition[] propertyDefinitions,
LookupDefinition[] lookupDefinitions,
AttributeDefinition[] attributeDefinitions,
java.lang.String[] orderedPropertyNames)
Creates a new generic object factory. |
Method Summary | |
java.lang.Object |
createObject()
|
AttributeDefinition[] |
getAttributeDefinitions()
|
java.lang.Class |
getBaseClass()
Returns the base class. |
ConstructorDefinition[] |
getConstructorDefinitions()
Returns the constructor definitions. |
GenericObjectFactory |
getInstance()
Returns a copy of this instance. |
LookupDefinition[] |
getLookupDefinitions()
|
java.lang.String[] |
getOrderedPropertyNames()
|
java.lang.Object |
getProperty(java.lang.String name)
|
PropertyDefinition |
getPropertyDefinitionByPropertyName(java.lang.String propertyName)
|
PropertyDefinition |
getPropertyDefinitionByTagName(java.lang.String tagName)
|
PropertyDefinition[] |
getPropertyDefinitions()
|
java.lang.String |
getRegisterName()
Returns the register name. |
java.lang.Class |
getTypeForTagName(java.lang.String tagName)
|
boolean |
isPropertyDefinition(java.lang.String propertyName)
|
void |
readProperties(java.lang.Object object)
|
void |
setProperty(java.lang.String propertyName,
java.lang.Object value)
|
void |
writeObjectProperties(java.lang.Object object)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GenericObjectFactory(java.lang.Class c, java.lang.String registerName, ConstructorDefinition[] constructors, PropertyDefinition[] propertyDefinitions, LookupDefinition[] lookupDefinitions, AttributeDefinition[] attributeDefinitions, java.lang.String[] orderedPropertyNames) throws ObjectDescriptionException
c
- the class.registerName
- the (optional) name under which to register the class for
any later lookup.constructors
- the constructor definitions.propertyDefinitions
- the property definitions.lookupDefinitions
- the lookup definitions.attributeDefinitions
- the attribute definitions.orderedPropertyNames
- the ordered property names.
ObjectDescriptionException
- if there is a problem.Method Detail |
public GenericObjectFactory getInstance()
public java.lang.String getRegisterName()
public java.lang.Class getTypeForTagName(java.lang.String tagName) throws ObjectDescriptionException
ObjectDescriptionException
public boolean isPropertyDefinition(java.lang.String propertyName)
public PropertyDefinition getPropertyDefinitionByPropertyName(java.lang.String propertyName) throws ObjectDescriptionException
ObjectDescriptionException
public PropertyDefinition getPropertyDefinitionByTagName(java.lang.String tagName) throws ObjectDescriptionException
ObjectDescriptionException
public ConstructorDefinition[] getConstructorDefinitions()
public AttributeDefinition[] getAttributeDefinitions()
public PropertyDefinition[] getPropertyDefinitions()
public java.lang.String[] getOrderedPropertyNames()
public LookupDefinition[] getLookupDefinitions()
public java.lang.Object getProperty(java.lang.String name)
public java.lang.Object createObject() throws ObjectDescriptionException
ObjectDescriptionException
public void setProperty(java.lang.String propertyName, java.lang.Object value) throws ObjectDescriptionException
ObjectDescriptionException
public void writeObjectProperties(java.lang.Object object) throws ObjectDescriptionException
ObjectDescriptionException
public void readProperties(java.lang.Object object) throws ObjectDescriptionException
ObjectDescriptionException
public java.lang.Class getBaseClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |