IRISLIB database
TreeBuilder Class Reference

This class stores the results of evaluation of an XPATH expression in ^IRIS.Temp(Tree,MatchKey) The Tree is a unique integer value, the MatchKey is an integer key which varies from 1 . More...

Inheritance diagram for TreeBuilder:
Collaboration diagram for TreeBuilder:

Public Member Functions

 EndMatch (_.Library.Integer pMatch)
 This method is called at the end of a match.
 
 StartMatch (_.Library.Integer pResultType)
 This method is called when a match is made. More...
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 Results
 This holds the collection of results. More...
 
 Tree
 This holds the current first subscript of ^IRIS.Temp. More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

This class stores the results of evaluation of an XPATH expression in ^IRIS.Temp(Tree,MatchKey) The Tree is a unique integer value, the MatchKey is an integer key which varies from 1 .

. n. For each match of the xpath expression, the results are stored in the appropriate subtree of ^IRIS.Temp. The match results can be of two forms, values and DOMS. If the XPATH expression matches an element, a DOM is returned which represents the matching element and it's childeren. If the XPATH expression matches a value then just the value is returned.

Member Function Documentation

◆ StartMatch()

StartMatch ( _.Library.Integer  pResultType)

This method is called when a match is made.

It specifies the Match key as well

as the type. The type may be $$$XPATHVALUE or $$$XPATHDOM

Reimplemented from ResultHandler.

Member Data Documentation

◆ Results

Results

This holds the collection of results.

 

◆ Tree

Tree

This holds the current first subscript of ^IRIS.Temp.