public class CollectionURIResolverWrapper extends java.lang.Object implements CollectionFinder
| Constructor and Description |
|---|
CollectionURIResolverWrapper(CollectionURIResolver cr)
Create a wrapper for a CollectionURIResolver
|
| Modifier and Type | Method and Description |
|---|---|
ResourceCollection |
findCollection(XPathContext context,
java.lang.String collectionURI)
Locate the collection of resources corresponding to a collection URI.
|
CollectionURIResolver |
getCollectionURIResolver() |
public CollectionURIResolverWrapper(CollectionURIResolver cr)
cr - the CollectionURIResolverpublic ResourceCollection findCollection(XPathContext context, java.lang.String collectionURI) throws XPathException
CollectionFinderfindCollection in interface CollectionFindercontext - 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 URIXPathException - if the collection was not foundpublic CollectionURIResolver getCollectionURIResolver()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.