Project

Profile

Help

How to connect?
Download (1.68 KB) Statistics
| Branch: | Tag: | Revision:

he / latest10 / hej / net / sf / saxon / expr / flwor / package.html @ c74fd4aa

1
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
2
<!-- Copyright (c) 2014 Saxonica Limited. -->
3
<!-- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. -->
4
<!-- If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5
<!-- This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0. -->
6
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
7

    
8
<html>
9
<head>
10
    <title>Package overview: net.sf.saxon.expr.flwor</title>
11

    
12
</head>
13
<body>
14
<p>This package contains classes responsible for evaluation of FLWOR expressions.</p>
15

    
16
<p>FLWOR expressions are implemented as a pipeline of clauses, much as described in the specification.
17
    The pipeline can be evaluated in push or pull mode: in push mode, the supplier of tuples activates the consumer
18
    of tuples when a tuple is ready to be processed, while in pull mode, the consumer of tuples calls the supplier
19
    to request the next tuple. In both cases the "tuple" is not actually passed as an argument or result of this call,
20
    but is represented by the state of local variables in the XPathContext stack on completion of the call. The only
21
    time tuples are represented as real objects is when the processing is not pipelined, for example when tuples need
22
    to be sorted or grouped.</p>
23

    
24
<p>Simple "for" and "let" expressions do not use this mechanism: instead, they are compiled to a
25
    {@link net.sf.saxon.expr.ForExpression} or {@link net.sf.saxon.expr.LetExpression}.</p>
26

    
27

    
28
</body>
29
</html>
30

    
31

    
(40-40/40)