|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Superset of methods needed by clients to the cache of Object to XML mapping information. Could have modelled this using real polymorphism but seemed like overkill.
Field Summary | |
static int |
ARRAY
should be accessed as an array |
static int |
BEAN
- terrible name |
static int |
VALUE
should be converted into a string as a TextNode or attribute value |
Method Summary | |
Object[] |
getArray(Object target)
called if type == ARRAY. |
PropertyInfo[] |
getAttributes()
list of attributes for this class. |
PropertyInfo[] |
getElements()
list of elements for this class. |
int |
getType()
How should the implementation handle objects of this class |
String |
getValue(Object target)
convert target to a string. |
Field Detail |
public static final int BEAN
public static final int VALUE
public static final int ARRAY
Method Detail |
public int getType()
public String getValue(Object target)
public Object[] getArray(Object target)
public PropertyInfo[] getAttributes()
public PropertyInfo[] getElements()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |