|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.AbstractObjectDescription
org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ArrayObjectDescription
public class ArrayObjectDescription
Describes an Object- or primitive value array. This object description is not intended to be created outside the ArrayClassFactory.
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. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.AbstractObjectDescription |
---|
clone, configure, convertPrimitiveClass, equals, getConfig, getObjectClass, getParameter, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayObjectDescription(Class c)
IllegalArgumentException
if the given class is no array.
c
- the array class object.Method Detail |
---|
public 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.public Class getParameterDefinition(String name)
getParameterDefinition
in interface ObjectDescription
getParameterDefinition
in class AbstractObjectDescription
name
- the definition name.
public Iterator getParameterNames()
getParameterNames
in interface ObjectDescription
getParameterNames
in class AbstractObjectDescription
public ObjectDescription getInstance()
getInstance
in interface ObjectDescription
getInstance
in class AbstractObjectDescription
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |