com.xml_project.morganaxquery.configuration
Interface ModuleURIResolver

All Known Implementing Classes:
AlternateFilesystem, DefaultFilesystem, XProcFilesystem

public interface ModuleURIResolver

Interface used to resolve module import in XQuery and p:xquery


Method Summary
 java.util.List<javax.xml.transform.stream.StreamSource> resolveModule(java.lang.String targetNamespace, java.util.List<java.lang.String> locationHints, java.lang.String baseURI)
          Called to resolve module import in XQuery and p:xquery
 

Method Detail

resolveModule

java.util.List<javax.xml.transform.stream.StreamSource> resolveModule(java.lang.String targetNamespace,
                                                                      java.util.List<java.lang.String> locationHints,
                                                                      java.lang.String baseURI)
Called to resolve module import in XQuery and p:xquery

Parameters:
targetNamespace - the target namespace of the module
locationHints - the location hints (if any)
baseURI - the base uri of the importing module
Returns:
a list of StreamSource's. May be null, if no modules are found.