Programatically setting castor properites in version 1.3

Posted by Dinuk on Stack Overflow See other posts from Stack Overflow or by Dinuk
Published on 2010-03-22T10:36:39Z Indexed on 2010/03/22 11:41 UTC
Read the original article Hit count: 349

Filed under:
|

Hello,

I am trying to programmatically set the org.exolab.castor.indent property when marshalling some objects - however, contrary to the documentation published, the class org.exolab.castor.util.LocalConfiguration does not seem to be shipped with the 1.3 release.

Currently, I have specified the castor.properties file on the classpath, which is picking up the properties I want to set, but I would rather reduce this deployment overhead, as my indentation requirement is not likely to change.

Any advice would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about java

Related posts about castor