public class CollectionURIResolverWrapper extends 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,
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, String collectionURI) throws XPathException
CollectionFinder
findCollection
in interface CollectionFinder
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 URIXPathException
- if the collection was not foundpublic CollectionURIResolver getCollectionURIResolver()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.