Hi,
where do I configure the castorXML to marshall empty(null) object's fields to the xml file?
Suppose the object above:
public class User{
private String name;
public void getName(){
return this.name;
}
public void setName(String arg){
this.name = arg;
}
}now I need to put it in xml, but if I didn't set any value to the 'name' attribute castor write the following file:
<User></User>
but I wanna this:
<User> <name></name> </User>
I've looked at castor.properties file but didn't find anything related. Thanks.
PS: I don't know if this is really a castor-dev list or maybe a castor-users list too. Anyway thanks for the patience.
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
