Saxon.Api

 

 

Saxon.Api

Class StandardCollectionFinder


public class StandardCollectionFinder
implements ICollectionFinder

Default implementation of the CollectionFinder interface.

Constructor Summary

StandardCollectionFinder ()

Default constructor to create a wrapped Java StandardCollectionFinder

 

Property Summary

 net.sf.saxon.lib.CollectionFinder Implementation

The underlying java CollectionFinder object

 

Method Summary

 IResourceCollection FindCollection(DynamicContext context, string collectionURI)

Locate the collection of resources corresponding to a collection URI

 void RegisterCollection(string collectionURI, IResourceCollection collection)

Register a specific URI and bind it to a specific ResourceCollection

 

Constructor Detail

StandardCollectionFinder

public StandardCollectionFinder()

Default constructor to create a wrapped Java StandardCollectionFinder

Property Detail

Implementation

public net.sf.saxon.lib.CollectionFinder Implementation {get; }

The underlying java CollectionFinder object

Method Detail

FindCollection

public IResourceCollection FindCollection(DynamicContext context,
string collectionURI)

Locate the collection of resources corresponding to a collection URI

Parameters:

context - The XPath dynamic evaluation context
collectionURI - The collection URI: an absolute URI, formed by resolving the argument supplied to the fn:collection or fn:uri-collection against the static base URI

Returns:

a ResourceCollection object representing resources in the collection identified by this collection URI

RegisterCollection

public void RegisterCollection(string collectionURI,
IResourceCollection collection)

Register a specific URI and bind it to a specific ResourceCollection

Parameters:

collectionURI - collectionURI the collection URI to be registered. Must not be null.
collection - collection the ResourceCollection to be associated with this URI. Must not be null.