Hi, Initially we had used XStream when persisting. This we did because of simplicity. Now we want to persist it in a format recognized by Drools runtime. Hence use of package decisiontables.model (in its current form) should be the ideal start.
When reading a DRL file is there a method which will populate this object structure? I can see something similar for reading XLS but not a DRL file. Other than org.drools.decisiontables.model package I can see other 'similar' objects (Ruleset, Rule, ApplicationData etc.) in org.drools.rule package. I could not find toXML (or something similar) in this package though. I saw RuleSetReader which reads an input source and returns the org.drools.rule.Ruleset object. I understand that the ability to read and also write to DRL format may not be a feature of the rule engine per se. But I currently see that this feature is available as 2 different parts in 2 different packages. Maybe I will write a class which will read org.drools.rule.Ruleset and make an XML on the similar lines of org.drools.decisiontables.model.Ruleset class :-). Is this understanding correct or am I missing something here? Thanks. Regards, - Nimesh -----Original Message----- From: Michael Neale [mailto:[EMAIL PROTECTED] Sent: Monday, December 05, 2005 5:28 AM To: [email protected] Subject: RE: [drools-dev] Object hierarchy to DRL file conversion Re org.drools.decisiontables.model... won't be changing much - as that would mean more work for me ! Aim is to keep up with drools features. Sounds like if you are already on the way with XStream, you have a few ideas up your sleeve. Just let us know how you get on. MASTEK "Making a valuable difference" Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. In the US, we're called MAJESCO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
