org.jfree.xml.factory.objects
public class ArrayObjectDescription extends AbstractObjectDescription
| Constructor Summary | |
|---|---|
| ArrayObjectDescription(Class c)
Constructs a new array objet description for the given array class.
| |
| Method Summary | |
|---|---|
| Object | createObject()
Creates an object based on the description.
|
| ObjectDescription | getInstance()
Returns a new instance of the object description.
|
| Class | getParameterDefinition(String name)
Returns a parameter definition. |
| Iterator | getParameterNames()
Returns an iterator for the parameter names.
|
| void | setParameterFromObject(Object o)
Sets the parameters of this description object to match the supplied object.
|
Note: throws IllegalArgumentException if the given class is no array.
Parameters: c the array class object.
Returns: The object.
Returns: The object description.
Parameters: name the definition name.
Returns: The parameter class or null, if the parameter is not defined.
Returns: The iterator.
Parameters: o the object.
Throws: ObjectFactoryException if there is a problem while reading the properties of the given object.