org.jfree.xml.factory.objects
public abstract class AbstractObjectDescription extends Object implements ObjectDescription, Cloneable
Constructor Summary | |
---|---|
AbstractObjectDescription(Class className)
Creates a new object description.
|
Method Summary | |
---|---|
void | configure(Configuration config)
Configures this factory. |
static Class | convertPrimitiveClass(Class obj)
Converts primitives to corresponding object class.
|
boolean | equals(Object o)
Tests for equality.
|
Configuration | getConfig()
Returns the configuration for that object description.
|
protected Iterator | getDefinedParameterNames()
Returns an iterator for the parameter names.
|
ObjectDescription | getInstance()
Returns a cloned instance of the object description. |
Class | getObjectClass()
Returns the class for the object.
|
Object | getParameter(String name)
Returns a parameter value.
|
Class | getParameterDefinition(String name)
Returns a parameter class.
|
Iterator | getParameterNames()
Returns an iterator for the parameter names.
|
ObjectDescription | getUnconfiguredInstance()
Returns a cloned instance of the object description. |
int | hashCode()
Returns a hash code for the object.
|
void | setParameter(String name, Object value)
Sets a parameter.
|
void | setParameterDefinition(String name, Class obj)
Sets the class for a parameter.
|
Parameters: className the class.
The configuration contents may change during the reporting.
Parameters: config the configuration, never null
Parameters: obj the class.
Returns: The class.
Parameters: o the object to test.
Returns: A boolean.
Returns: the configuration or null, if not yet set.
Returns: The iterator.
Parameter definitions are not cloned, as they are considered read-only.
The newly instantiated object description is not configured. If it need to be configured, then you have to call configure on it.
Returns: A cloned instance.
Returns: The class.
Parameters: name the parameter name.
Returns: The parameter value.
Parameters: name the parameter definition.
Returns: The class.
Returns: The iterator.
Parameter definitions are not cloned, as they are considered read-only.
The newly instantiated object description is not configured. If it need to be configured, then you have to call configure on it.
Returns: A cloned instance.
Returns: The hash code.
Parameters: name the name. value the value.
Parameters: name the parameter name. obj the parameter class.