| |
|
| java.lang.Object org.jfree.xml.factory.objects.AbstractObjectDescription org.jfree.xml.factory.objects.CollectionObjectDescription
CollectionObjectDescription | public class CollectionObjectDescription extends AbstractObjectDescription (Code) | | An object description for simple collection objects, like java.util.List
or java.util.Set.
author: Thomas Morgner |
CollectionObjectDescription | public CollectionObjectDescription(Class c)(Code) | | Creates a list object description for the given collection class.
Throws ClassCastException if the given class is no collection instance.
Parameters: c - the class of the collection implementation. |
createObject | public Object createObject()(Code) | | Creates an object based on the description.
The object. |
getParameterDefinition | public Class getParameterDefinition(String name)(Code) | | Returns a parameter definition. If the parameter is invalid, this
function returns null.
Parameters: name - the definition name. The parameter class or null, if the parameter is not defined. |
getParameterNames | public Iterator getParameterNames()(Code) | | Returns an iterator for the parameter names.
The iterator. |
setParameterFromObject | public void setParameterFromObject(Object o) throws ObjectFactoryException(Code) | | Sets the parameters of this description object to match the supplied object.
Parameters: o - the object. throws: ObjectFactoryException - if there is a problem while reading theproperties of the given object. |
|
|
|