Re: [Fwd: Re: JESS: Browsing Rule LHS]

2007-06-15 Thread Henrique Lopes Cardoso
But if Jess already has a Java API to access Jess constructs, is it not a waist of time to parse JessML? JAXB would create another API to access JessML content objects! Again, do you not recommend the use of Jess API to access the structure of Jess rules? Another way of looking at my goal would

Re: [Fwd: Re: JESS: Browsing Rule LHS]

2007-06-15 Thread Ernest Friedman-Hill
On Jun 15, 2007, at 6:33 AM, Henrique Lopes Cardoso wrote: But if Jess already has a Java API to access Jess constructs, is it not a waist of time to parse JessML? JAXB would create another API to access JessML content objects! Yes, but it would be a *stable* API. Again, do you not

JESS: Browsing Rule LHS

2007-06-14 Thread Henrique Lopes Cardoso
Hi, I am trying to browse, through the Java API, the contents of a rule, to check when it might be applicable by inspecting its LHS. This is supposed to be done before running the Rete engine, not during (i.e., I do not want to look for activations, or run-time pattern matches...). I started with

Re: JESS: Browsing Rule LHS

2007-06-14 Thread Ernest Friedman-Hill
On Jun 14, 2007, at 1:12 PM, Henrique Lopes Cardoso wrote: 1. Is this the only approach to do what I want, or is there an easier way? You might try parsing JessML and working with that; you could use JAXB to create classes representing XML elements. 2. Are those classes undocumented