Executes the boolean subquery specified in the function parameter and returns the result returned by that subquery.

Parameter:

query

Specify a precompiled subquery to be executed.

The subquery should be created using BooleanQuery() or parseBooleanQuery() function.

Returns:
The value (Boolean object) returned by the subquery.

Example:

The following expression is an Element Iterator filter specified within some subtemplate:


   filterExpr = getStringParam("nodeFilter");
   filter = parseBooleanQuery (filterExpr);

   getAttrStringValue("$shapeType") != "Note" &&
   (filter == null || execBooleanQuery(filter))

This filter has a static part (testing whether the value of the '$shapeType' attribute is not equal "Note") and may include a dynamic part passed via the template parameter 'nodeFilter'.

See Also:

parseBooleanQuery(), BooleanQuery()