Package net.sf.saxon.ma.map
Class MapFunctionSet
- java.lang.Object
-
- net.sf.saxon.functions.registry.BuiltInFunctionSet
-
- net.sf.saxon.ma.map.MapFunctionSet
-
- All Implemented Interfaces:
FunctionLibrary
public class MapFunctionSet extends BuiltInFunctionSet
Function signatures (and pointers to implementations) of the functions defined in XPath 2.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapFunctionSet.MapContainsImplementation of the XPath 3.1 function map:contains(Map, key) => booleanstatic classMapFunctionSet.MapEntriesImplementation of the proposed 4.0 function map:entries(Map) => record(key, value*static classMapFunctionSet.MapEntryImplementation of the extension function map:entry(key, value) => Mapstatic classMapFunctionSet.MapFindImplementation of the XPath 3.1 function map:find(item()*, key) => arraystatic classMapFunctionSet.MapForEachImplementation of the function map:for-each(Map, Function) => item()*static classMapFunctionSet.MapGetImplementation of the XPath 3.1 function map:get(Map, key) => valuestatic classMapFunctionSet.MapIndexImplementation of the proposed XPath 4.0 function map:index($sequence, function(item()) as xs:anyAtomicType) => map(*)static classMapFunctionSet.MapKeysImplementation of the XPath 3.1 function map:keys(Map) => atomicValue*static classMapFunctionSet.MapMergeImplementation of the function map:merge() => Map From 9.8, map:merge is also used to implement map constructors in XPath and the xsl:map instruction in XSLT.static classMapFunctionSet.MapPutImplementation of the extension function map:put() => Mapstatic classMapFunctionSet.MapRemoveImplementation of the XPath 3.1 function map:remove(Map, key) => valuestatic classMapFunctionSet.MapSizeImplementation of the extension function map:size(map) => integer-
Nested classes/interfaces inherited from class net.sf.saxon.functions.registry.BuiltInFunctionSet
BuiltInFunctionSet.Entry
-
-
Field Summary
Fields Modifier and Type Field Description static MapFunctionSetTHE_INSTANCE
-
Constructor Summary
Constructors Constructor Description MapFunctionSet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConventionalPrefix()Return a conventional prefix for use with this namespace, typically the prefix used in the documentation of these functions.static MapFunctionSetgetInstance()java.lang.StringgetNamespace()Return the namespace URI for the functions local to this function set.-
Methods inherited from class net.sf.saxon.functions.registry.BuiltInFunctionSet
bind, copy, getFunctionDetails, getFunctionItem, importFunctionSet, isAvailable, makeFunction, register, registerReducedArityVariants
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.functions.FunctionLibrary
setConfiguration
-
-
-
-
Field Detail
-
THE_INSTANCE
public static MapFunctionSet THE_INSTANCE
-
-
Method Detail
-
getInstance
public static MapFunctionSet getInstance()
-
getNamespace
public java.lang.String getNamespace()
Description copied from class:BuiltInFunctionSetReturn the namespace URI for the functions local to this function set.- Overrides:
getNamespacein classBuiltInFunctionSet- Returns:
- the namespace URI of the functions local to this function set. Note that functions imported from another function set may have a different namespace URI.
-
getConventionalPrefix
public java.lang.String getConventionalPrefix()
Description copied from class:BuiltInFunctionSetReturn a conventional prefix for use with this namespace, typically the prefix used in the documentation of these functions.- Overrides:
getConventionalPrefixin classBuiltInFunctionSet- Returns:
- the string "fn"
-
-