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
Default constructor to create a wrapped Java StandardCollectionFinder
Property Detail
Implementation
The underlying java CollectionFinder object
Method Detail
FindCollection
string collectionURI)
RegisterCollection
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.
Locate the collection of resources corresponding to a collection URI
Parameters:
context
- The XPath dynamic evaluation contextcollectionURI
- The collection URI: an absolute URI, formed by resolving the argument supplied to the fn:collection or fn:uri-collection against the static base URIReturns: