|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.xml.factory.objects.AbstractObjectDescription
org.jfree.xml.factory.objects.CollectionObjectDescription
public class CollectionObjectDescription
An object description for simple collection objects, like java.util.List or java.util.Set.
| 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. |
| Methods inherited from class org.jfree.xml.factory.objects.AbstractObjectDescription |
|---|
configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionObjectDescription(Class c)
Throws ClassCastException if the given class is no collection instance.
c - the class of the collection implementation.| Method Detail |
|---|
public Class getParameterDefinition(String name)
getParameterDefinition in interface ObjectDescriptiongetParameterDefinition in class AbstractObjectDescriptionname - the definition name.
public Iterator getParameterNames()
getParameterNames in interface ObjectDescriptiongetParameterNames in class AbstractObjectDescriptionpublic Object createObject()
public void setParameterFromObject(Object o)
throws ObjectFactoryException
o - the object.
ObjectFactoryException - if there is a problem while reading the
properties of the given object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||