org.rddl.helpers
Class RDDLClassLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--java.security.SecureClassLoader
              |
              +--java.net.URLClassLoader
                    |
                    +--org.rddl.helpers.RDDLClassLoader

public class RDDLClassLoader
extends java.net.URLClassLoader


Constructor Summary
RDDLClassLoader(java.lang.String nsUrl, java.lang.String purposeURI)
          Creates new RDDLClassLoader
 
Method Summary
protected static java.net.URL[] buildUriList(java.lang.String URI, java.lang.String purposeURI)
          This is an internal static method that creates a URL array from the RDDL URI and purpose The nature is either "java" or "JAR"
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass
 
Methods inherited from class java.lang.ClassLoader
defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDDLClassLoader

public RDDLClassLoader(java.lang.String nsUrl,
                       java.lang.String purposeURI)
                throws java.io.IOException,
                       org.xml.sax.SAXException
Creates new RDDLClassLoader
Parameters:
nsUrl - the namespace URI
purposeURI - The purpose of this ClassLoader connection
Throws:
IOException -  
SAXException -  
Method Detail

buildUriList

protected static java.net.URL[] buildUriList(java.lang.String URI,
                                             java.lang.String purposeURI)
                                      throws java.io.IOException,
                                             org.xml.sax.SAXException
This is an internal static method that creates a URL array from the RDDL URI and purpose The nature is either "java" or "JAR"
Parameters:
URI - The namespace URI
purposeURI - The RDDL purpose
Returns:
URL[] - an array of URLs -- this is typically passed to the constructor of URLClassLoader()
Throws:
IOException -  
SAXException -