The jess.Deffacts class has a public constructor, and the addFact() method is also public. There shouldn't be any problem with constructing a jess.Deffacts and adding all the facts to it.
I think Matthew Hutchinson wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hi everyone, > > If I already have a bunch of facts in working memory, is it possible to > create a deffacts using these? I'm interested in selecting a portion of the > rules in working memory, then creating a deffacts of these so I can pass > this to the XMLPrinter class and write the deffacts to XML. > > As always, thanks > Matt > > > > > -- > Matthew Hutchinson > Ph.D. Candidate > Department of Spatial Sciences > Curtin University of Technology > GPO Box U1987 > Perth, Western Australia 6845 > > Visiting Scholar > Department of Geography and Planning > University of Akron > Akron, Ohio USA --------------------------------------------------------- Ernest Friedman-Hill Advanced Software Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------
