File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "XML Writting & Reading" Watch "XML Writting & Reading" New topic

XML Writting & Reading

Carlos Conti
Ranch Hand

Joined: Apr 21, 2010
Posts: 113
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 Conti
Ranch Hand

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

Thanks and sorry.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: XML Writting & Reading
Similar Threads
XSL transformation using Apache Xalan
Getting comment data in SAX ?
Java and XML
XML Validation using castor
xml as byte array