com.xml_project.morganaxproc.connectors
Interface CollectionURIResolver

All Known Implementing Classes:
AlternateFilesystem, DefaultFilesystem, XProcFilesystem

public interface CollectionURIResolver

This interface is used to resolve uri's to ressources when calling fn:collection with a string as parameter. resolveCollection is NOT used to access the default collection


Method Summary
 java.util.List<java.net.URI> resolveCollection(java.net.URI uri)
          Called by XPath, XQuery and XSLT when fn:collection is evaluated.
 

Method Detail

resolveCollection

java.util.List<java.net.URI> resolveCollection(java.net.URI uri)
                                               throws javax.xml.xpath.XPathException
Called by XPath, XQuery and XSLT when fn:collection is evaluated.

Parameters:
uri - the absolute uri of the collection to access
Returns:
A list of Source's represented by the given uri. Can be an empty list but should not be null.
Throws:
javax.xml.xpath.XPathException - raised, if any Exception occured.