| |
|
| java.lang.Object org.jfree.xml.factory.objects.AbstractObjectDescription org.jfree.xml.factory.objects.ArrayObjectDescription
ArrayObjectDescription | public class ArrayObjectDescription extends AbstractObjectDescription (Code) | | Describes an Object- or primitive value array. This object description is
not intended to be created outside the ArrayClassFactory.
author: Thomas Morgner |
ArrayObjectDescription | public ArrayObjectDescription(Class c)(Code) | | Constructs a new array objet description for the given array class.
Note: throws IllegalArgumentException if the given class is no array.
Parameters: c - the array class object. |
createObject | public Object createObject()(Code) | | Creates an object based on the description.
The object. |
getInstance | public ObjectDescription getInstance()(Code) | | Returns a new instance of the object description.
The object description. |
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 aproblem while reading the properties of the given object. |
|
|
|