Project

Profile

Help

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

he / tags / 9.2.0.5 / hej / net / sf / saxon / type / package.html @ 90ee0d1a

1
<html>
2

    
3
<head>
4
<title>Package overview for net.sf.saxon.type</title>
5
</head>
6

    
7
<body>
8

    
9
<p>This package contains classes that implement the XPath 2.0 type system.
10
It contains that part of the functionality relevant to a non-schema-aware
11
implementation: that is, the overall structure of the type system, together
12
with representations of the built-in types.</p>
13

    
14
<p>The hierarchy of schema types is represented by the interfaces
15
<code>SchemaType</code>, <code>ComplexType</code>, <code>SimpleType</code>,
16
<code>ListType</code>, and <code>AtomicType</code>. (Union types never arise
17
in non-schema-aware processing). There are concrete classes representing
18
built-in types such as <code>AnyType</code>, <code>BuiltInAtomicType</code>,
19
and <code>BuiltInListType</code>: the corresponding classes for user-defined
20
types are in the <code>com.saxonica.schema</code> package.</p>
21

    
22
<p>The class <code>SequenceType</code> ought logically to be in this package
23
but is actually in <code>net.sf.saxon.value</code>. A sequence type contains
24
an <code>ItemType</code> which may be an <code>AtomicType</code> or a
25
<code>NodeTest</code>: NodeTests are found in the package <code>net.sf.saxon.pattern</code>.</p>
26

    
27
<p>The logic for performing type checking is partly in the singleton class
28
<code>Type</code> (which also contains many useful constants), and partly in
29
the class <code>TypeChecker</code> found in package <code>net.sf.saxon.expr</code>.</p>
30

    
31

    
32

    
33
<p align="center"><i>Michael H. Kay<br/>
34
Saxonica Limited<br/>
35
9 February 2005</i></p>
36
</body>
37
</html>
(29-29/29)