File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes XML Writting & Reading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "XML Writting & Reading" Watch "XML Writting & Reading" New topic
Author

XML Writting & Reading

Carlos Conti
Ranch Hand

Joined: Apr 21, 2010
Posts: 114
Hi there,

I don't know if this feature is included in SAX, but it would be very useful if I could read/write a given class instances to and from *.xml files, by defining the tags through annotations, such as you do to define object persistence in a JPA framework.

I am pretty sure this must be included in SAX but the first googlequeries didn't show anything interesting.

Perhaps in any other library?

Thanks for your advise.

Carlos.
Carlos Conti
Ranch Hand

Joined: Apr 21, 2010
Posts: 114
ups. sorry, I found out now that JAXB takes care precisely over that....

Thanks and sorry.

Carlos.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: XML Writting & Reading