|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.arooa.types.BeanType
public class BeanType
The class must be a true Java Bean, and have a no argument public constructor.
Properties of the bean are attributes for the eight Java primitive types and their associated Objects, or a String, and elements for all other types, as is the Oddjob standard.
<bean class="org.oddjob.arooa.types.PersonBean" name="John">
<friends>
<list>
<values>
<value value="Rod"/>
<value value="Jane"/>
<value value="Freddy"/>
</values>
</list>
</friends>
</bean>
Where the bean is:
org/oddjob/arooa/types/PersonBean.java| Field Summary | |
|---|---|
static String |
ATTRIBUTE
|
static ArooaElement |
ELEMENT
|
| Constructor Summary | |
|---|---|
BeanType()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ArooaElement ELEMENT
public static final String ATTRIBUTE
Property: class
Description: The class to create. Must have a public zero argument constructor. Not that this attribute value must be constant - it can not contain ${} property place holders.
Required: No, defaults to java.lang.Object.
| Constructor Detail |
|---|
public BeanType()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||