aspose 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 Java 8 in Action this week in the Java 8 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: 112
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: 112
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
 
Similar Threads
Java and XML
XML Validation using castor
Getting comment data in SAX ?
XSL transformation using Apache Xalan
xml as byte array