Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stateless Biz Objects Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00313483
Message ID:
00314065
Vues:
52
>Erik:
>
>Oh, so this ObjectToXML will take a object, like say one based on the custom class, store to an XML file that can be later retrieved?

Yep. It does not matter what the base class of the object is.

>Then does it need to be reinstantiated when you want to use it again?

If you want the object to be instanciated from the same class as the original object, you'll need to instanciate a new one yourself, and pass that reference to the XMLToObject method, and it will just populate your properties. If class is not an issue, wwXML will create an object based on its wwLight class.

It would be nice if the XML created from the object in the first place also stored class and classlib info, so the object created later could be automatically built from the same class, but this is not yet implemented this way.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform