|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for object descriptions.
Method Summary | |
void |
configure(Configuration config)
Configures this factory. |
java.lang.Object |
createObject()
Creates an object based on the description. |
ObjectDescription |
getInstance()
Returns a new instance of the object description. |
java.lang.Class |
getObjectClass()
Returns the object class. |
java.lang.Object |
getParameter(java.lang.String name)
Returns the value of a parameter. |
java.lang.Class |
getParameterDefinition(java.lang.String name)
Returns a parameter definition. |
java.util.Iterator |
getParameterNames()
Returns an iterator the provides access to the parameter names. |
void |
setParameter(java.lang.String name,
java.lang.Object value)
Sets the value of a parameter. |
void |
setParameterFromObject(java.lang.Object o)
Sets the parameters of this description object to match the supplied object. |
Method Detail |
public java.lang.Class getParameterDefinition(java.lang.String name)
name
- the definition name.
public void setParameter(java.lang.String name, java.lang.Object value)
name
- the parameter name.value
- the parameter value.public java.lang.Object getParameter(java.lang.String name)
name
- the parameter name.
public java.util.Iterator getParameterNames()
public java.lang.Class getObjectClass()
public java.lang.Object createObject()
public ObjectDescription getInstance()
public void setParameterFromObject(java.lang.Object o) throws ObjectFactoryException
o
- the object.
ObjectFactoryException
- if there is a problem while reading the
properties of the given object.public void configure(Configuration config)
The configuration contents may change during the reporting.
config
- the configuration, never null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |