|
|
Home | Loader API | Interfaces | File List | Index | |
We represent all facts in this rule engine as a DOM XML tree. (This is typically referred to as the rule engine's "working memory".) The facts added from this method are referred to as "stated" facts rather than "inferred" facts which are generated by processing rules. This method can be called multiple times. Each time it is called a new fact tree is generated and the previous tree is removed. If the XML (or JSON) fact data is to be streamed in then the call sequence should be as follows: startFacts( pBuffer, size, P6FALSE ) continueFacts( pBuffer, size, P6FALSE ) * * * * continueFacts( pBuffer, size, P6TRUE ) All the XML (or JSON) data must be present before the fact tree can be generated. Once generated the fact tree is directly available via the XPath expressions embedded in P6R's rule languague.
|