Saxon.Api
Delegate CollectionFinder
An CollectionFinder
can be registered with the Processor
; it is called in response
to calls on the fn:collection()
and fn:uri-collection()
functions.
When these functions are called, the delegate is called to get a collection of IResource
objects representing resources identified by the supplied collection URI.
The implementation may be lazy: that is, the returned resource collection might not contain the actual resources, but only the information needed to fetch the resources when required. This means that any errors that occur when actually fetching the resources may be deferred.
Parameters:
collectionUri
- The URI that will be used to identify the collection in calls on
the fn:collection()
and fn:uri-collection()
functions. Should be an absolute URI.Returns: