Hi Katja,

> Do I really have to make any Attribute public, If I want to save
> it????It doesn't make any sense to me.

You can also leave the attributes private/protected, if you implement
public get/set functions. For example for an attribut "name" you would
have to add the functions getName() and setName().

> Maybe you can tell me which documentation I should read that I can solve
> more problems by myself. I thought I read the most important
> documentation of Castor but maybe it wasn't enought.

You might read the following documentation about the Castor Marshalling
Framework:

http://www.castor.org/xml-framework.html#The-Marshalling-Framework

I also found the following comment about introspection of private methods
in the FAQ section:

# Castor does not currently support introspection of private methods.
# Please make sure proper public accesssor methods are available for
# all fields that you wish to be handled by the Marshalling Framework.

Does some one know, if this is still true?
I thought having read some message about an option in the CVS version
of Castor to enable introspection of private/protected attributes?

Regards,

   Martin

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

Reply via email to