[xstream-user] reflection

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[xstream-user] reflection

João Kreuzberg
Hi....
can you tell me how can i get
private attributes (names and type) from a
 from a java class?
thankss
 
João
Reply | Threaded
Open this post in threaded view
|

RE: [xstream-user] reflection

Jörg Schaible
Hi João,

João Kreuzberg wrote on Monday, November 21, 2005 8:01 PM:

> Hi....
> can you tell me how can i get
> private attributes (names and type) from a
>  from a java class?

not sure, what you mean. Just serialize your class with XStream and the provate members will find their way into the XML.

- Jörg