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
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Reply Bookmark "XML Writting & Reading" Watch "XML Writting & Reading" New topic
Author

XML Writting & Reading

Carlos Conti
Ranch Hand

Joined: Apr 21, 2010
Posts: 89
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: 89
ups. sorry, I found out now that JAXB takes care precisely over that....

Thanks and sorry.

Carlos.
 
IntelliJ Java IDE
 
subject: XML Writting & Reading
 
Threads others viewed
xml as byte array
Getting comment data in SAX ?
XML Validation using castor
Java and XML
XSL transformation using Apache Xalan
IntelliJ Java IDE