Project

Profile

Help

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

he / latest10 / hej / net / sf / saxon / tree / linked / 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

    
10
<head>
11
    <title>Package overview for net.sf.saxon.tree.linked</title>
12
</head>
13

    
14
<body>
15

    
16
<p>This package defines the implementation of the so-called "linked tree" structure. This
17
    structure can be used to represent both the source document and the stylesheet.
18
    It is no longer the default structure for source documents, but is always used for
19
    stylesheets and for schema documents, because it allows each element to be represented
20
    by a subclass of <code>Element</code> with application-specific functionality.</p>
21

    
22
<p>The classes represent the various kinds of node on the tree. Most of them
23
    are not visible outside the package, with the notable exception of ElementImpl,
24
    which can be subclassed to contain properties for a particular kind of element.
25
    This capability is exploited especially in the stylesheet tree.</p>
26

    
27
<p>As well as classes representing nodes, there are classes representing
28
    iterators over the various XPath axes, for example <code>ChildEnumeration</code>
29
    and <code>PrecedingEnumeration</code>.</p>
30

    
31
<p>The <code>TreeBuilder</code> performs the work of constructing a tree, from a
32
    sequence of SAX-like <code>Receiver</code> events.</p>
33

    
34
<p>The package also contains some helper classes such as <code>SystemIdMap</code>
35
    and <code>LineNumberMap</code> that are used also by the TinyTree implementation.</p>
36

    
37

    
38
</body>
39
</html>
(24-24/24)