Package org.cqframework.cql.cql2elm
Class PriorityLibrarySourceLoader
java.lang.Object
org.cqframework.cql.cql2elm.PriorityLibrarySourceLoader
- All Implemented Interfaces:
LibrarySourceLoader,PathAware,org.hl7.cql.model.NamespaceAware
public class PriorityLibrarySourceLoader
extends Object
implements LibrarySourceLoader, org.hl7.cql.model.NamespaceAware, PathAware
Used by LibraryManager to manage a set of library source providers that
resolve library includes within CQL. Package private since its not intended
to be used outside the context of the instantiating LibraryManager instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetLibraryContent(org.hl7.elm.r1.VersionedIdentifier libraryIdentifier, LibraryContentType type) getLibrarySource(org.hl7.elm.r1.VersionedIdentifier libraryIdentifier) voidregisterProvider(LibrarySourceProvider provider) voidsetNamespaceManager(org.hl7.cql.model.NamespaceManager namespaceManager) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cqframework.cql.cql2elm.LibrarySourceLoader
isLibraryContentAvailable
-
Constructor Details
-
PriorityLibrarySourceLoader
public PriorityLibrarySourceLoader()
-
-
Method Details
-
registerProvider
- Specified by:
registerProviderin interfaceLibrarySourceLoader
-
setPath
-
clearProviders
public void clearProviders()- Specified by:
clearProvidersin interfaceLibrarySourceLoader
-
getLibrarySource
- Specified by:
getLibrarySourcein interfaceLibrarySourceLoader
-
getLibraryContent
public InputStream getLibraryContent(org.hl7.elm.r1.VersionedIdentifier libraryIdentifier, LibraryContentType type) - Specified by:
getLibraryContentin interfaceLibrarySourceLoader
-
setNamespaceManager
public void setNamespaceManager(org.hl7.cql.model.NamespaceManager namespaceManager) - Specified by:
setNamespaceManagerin interfaceorg.hl7.cql.model.NamespaceAware
-