|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Interface Summary | |
|---|---|
| MapItem | Interface supported by different implementations of an XDM map item |
| Class Summary | |
|---|---|
| ImmutableMap | An immutable map. |
| MapCollation | Implementation of the extension function map:entry(key, value) => Map |
| MapContains | Implementation of the XPath 3.0 function map:contains(Map, key) => boolean |
| MapEntry | Implementation of the extension function map:entry(key, value) => Map |
| MapGet | Implementation of the XPath 3.0 function map:get(Map, key) => value |
| MapKeys | Implementation of the extension function map:keys(Map) => atomicValue* |
| MapNew | Implementation of the extension function map:new() => Map |
| MapRemove | Implementation of the XPath 3.0 function map:remove(Map, key) => value |
| MapSize | Implementation of the extension function map:entry(key, value) => Map |
| MapType | An instance of this class represents a specific function item type, for example function(xs:int) as xs:boolean |
| SingletonMap | A map containing a single entry |
This package implements maps, a Saxon extension to the XSLT and XQuery specification that provides a dictionary-like data structure.
Maps are immutable, so that adding a new entry to a map creates a new map.
The entries in a map are (Key, Value) pairs. The key is always an atomic value; the value may be any XPath sequence.
There are functions (each supported by its own implementation class) to create a new map, to add an entry to a map, to get an entry from a map, and to list all the keys that are present in a map.
Michael H. Kay
Saxonica Limited
30 July 2010
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||