Hallo, I'm an enthusiastic user of Castor's capability to transform bean-like Java data objects to XML. The only thing I'm missing, is that the bean naming convention to start "boolean question methods" like isEmpty() with the prefix "is" instead of "get". I found that Castor does not recognize such isFoo() methods and they are only included in the XML output if I write an additional getFoo() method. This is cumbersome. Is there a chance to get this feature in the next Castor XML release?
I have written two classes that uses the decorator or wrapper pattern to provide the toXml() feature and other nice capabilities to arbitrary bean-like classes and even to Java 2 collections that are not handled by default using Castor. May be they are of interest as a useful add on in a Castor "util" package... <<XmlObjectWrapper.java>> <<XmlCollectionWrapper.java>> Regards, Klaus Berg Klaus Berg Siemens AG, Dept. CT SE 1 D-81730 Munich, Germany [EMAIL PROTECTED] "Things should be made as simple as possible, but not any simpler." - Albert Einstein
XmlObjectWrapper.java
Description: Binary data
XmlCollectionWrapper.java
Description: Binary data
