Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Writting & Reading

 
Carlos Conti
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ups. sorry, I found out now that JAXB takes care precisely over that....

Thanks and sorry.

Carlos.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic