Hello,

is there a way to _programmatically_ set the "org.exolab.castor.indent"
property? in other words, is there a way to force a Marshaller to indent the
generated XML?
the only way I found is a bit brutal, as it affects all castor output:

Configuration.getDefault().setProperty(Configuration.Property.Indent,
"true");
I could save the previous state and restore it after using my Marshaller,
but in that case I also need to make a synchronized block. any more elegant
solution?

youri

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to