org.jfree.xml.factory.objects
public class CollectionObjectDescription extends AbstractObjectDescription
Constructor Summary | |
---|---|
CollectionObjectDescription(Class c)
Creates a list object description for the given collection class.
|
Method Summary | |
---|---|
Object | createObject()
Creates an object based on the 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.
|
Throws ClassCastException
if the given class is no collection instance.
Parameters: c the class of the collection implementation.
Returns: The object.
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.