I don't want to use XML file created by JAXB marshaller, can I customize it, so that i would give a preferrable format to marshal objects?
A:
jaxb is related to XML ... if you need to customize the xml then you can use the Jaxb annotations http://java.sun.com/javaee/5/docs/api/javax/xml/bind/annotation/package-summary.html
silmx
2009-06-26 12:57:54
+1
A:
You can take JAXB's XML output and process it in a way you like, to achieve an alternative output.
XSLT, DOM, or something else...
XML is perfect to be further transformed!
ivan_ivanovich_ivanoff
2009-06-27 13:09:28
+1 In fact you can use `JAXBSource` to take a JAXB object and run it straight through a `javax.xml.transform.Transformer`, no need to go via the XML stage.
skaffman
2009-09-24 10:05:19