Qizx fe-4.4p2 API

com.qizx.api
Interface ModuleResolver

All Known Implementing Classes:
DefaultModuleResolver

public interface ModuleResolver

Resolves a module URI specified by a XQuery 'import module' declaration.


Method Summary
 URL[] resolve(String moduleNamespaceURI, String[] locationHints)
          Resolves a module namespace to one or several compilation units.
 Source resolveTemplates(String url)
          Resolves an URL for an XSLT stylesheet.
 

Method Detail

resolve

URL[] resolve(String moduleNamespaceURI,
              String[] locationHints)
              throws MalformedURLException
Resolves a module namespace to one or several compilation units.

Parameters:
moduleNamespaceURI - target namespace of the module to import.
locationHints - optional URI's used as resolution hints.
Returns:
one or several physical locations of module units.
Throws:
MalformedURLException - if provided module URI's or hints are invalid

resolveTemplates

Source resolveTemplates(String url)
Resolves an URL for an XSLT stylesheet.

Parameters:
url - URL of the stylesheet
Returns:
null if not resolved, otherwise a resolved JAXP Source

© 2010 Axyana Software