public class StandardCollectionFinder extends Object implements CollectionFinder
DirectoryCollectionisJarFileURI(String) returns
true, the URI is treated as identifying a JAR or ZIP archive, whose contents form the
resources in the collection: it is returned as an instance of JarCollectionURIResolver| Constructor and Description |
|---|
StandardCollectionFinder() |
| Modifier and Type | Method and Description |
|---|---|
ResourceCollection |
findCollection(XPathContext context,
String collectionURI)
Locate the collection of resources corresponding to a collection URI.
|
protected boolean |
isJarFileURI(String collectionURI)
Ask whether the collection URI should be interpreted as identifying a JAR (or ZIP) file.
|
public ResourceCollection findCollection(XPathContext context, String collectionURI) throws XPathException
findCollection 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 URIXPathExceptionprotected boolean isJarFileURI(String collectionURI)
collectionURI - the requested absolute collection URICopyright (c) 2004-2014 Saxonica Limited. All rights reserved.