de.fraunhofer.ipsi.ipsixq.api
Class LibraryRegistry

java.lang.Object
  extended by de.fraunhofer.ipsi.ipsixq.api.LibraryRegistry

public class LibraryRegistry
extends java.lang.Object


Method Summary
 boolean containsLibrary(java.lang.String uri)
          Method containsLibrary
static LibraryRegistry getRegistry()
          Method getRegistry
 XQueryLibraryModule lookupLibrary(java.lang.String uri)
          Method lookupLibrary
 void registerLibrary(java.lang.String uri, XQueryLibraryModule library)
          Method registerLibrary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRegistry

public static LibraryRegistry getRegistry()
Method getRegistry

Returns:
a LibraryRegistry

registerLibrary

public void registerLibrary(java.lang.String uri,
                            XQueryLibraryModule library)
                     throws XQueryException
Method registerLibrary

Parameters:
uri - a String
library - a XQueryLibraryModule
Throws:
XQueryException

containsLibrary

public boolean containsLibrary(java.lang.String uri)
Method containsLibrary

Parameters:
uri - a String
Returns:
a boolean

lookupLibrary

public XQueryLibraryModule lookupLibrary(java.lang.String uri)
Method lookupLibrary

Parameters:
uri - a String
Returns:
a CoreLibraryModule