Re: JESS: No Fact-getSlotNames() method?
"Wolfgang Laun" <[email protected]>
| Newsgroups | gmane.comp.java.jess |
|---|---|
| Message-ID | <28680_1284563182_o8FF4xLp029723_AANLkTimdcod64bSREhpa8Xu-1oej0nVSzG9N9mj1-4PZ@mail.gmail.com> |
You can get the Deftemplate from Fact, and the slots from that. -W On 15 September 2010 06:40, Donald Winston <[email protected]> wrote: > Oops, I just found a road block. How come there's no "Enumeration getSlotNames()" method for the Fact class? Is there any other way to get these? The only way I can see is to parse the result of "toString()" on a fact object. There's JessML which I assume can output facts as xml so I assume the slot names are available somewheres. > > > > -------------------------------------------------------------------- > 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]. > -------------------------------------------------------------------- > > -------------------------------------------------------------------- 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]. --------------------------------------------------------------------