org.enhydra.xml.xmlc.deferredparsing
Class DynamicClassLoader
java.lang.Object
|
+--java.lang.ClassLoader
|
+--org.enhydra.xml.xmlc.deferredparsing.DynamicClassLoader
- public class DynamicClassLoader
- extends ClassLoader
Methods inherited from class java.lang.ClassLoader |
, addClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findNative, findResource, findResources, findSystemClass, getBootstrapClassPath, getCallerClassLoader, getGetClassLoaderPerm, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, isAncestor, loadClass, loadLibrary, resolveClass, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dhcConstructor
Constructor dhcConstructor
DynamicClassLoader
DynamicClassLoader(ClassLoader parent)
DynamicClassLoader
DynamicClassLoader(ClassLoader parent,
XMLCLogger logger)
setDelegate
public void setDelegate(ClassLoader delegate)
- Add a delegate be used in class loading.
- Parameters:
delegate
- the loader to be used as delegate
loadClass
public Class loadClass(String className)
throws ClassNotFoundException
- load class,
- Overrides:
loadClass
in class ClassLoader
createClass
Class createClass(String className,
String path,
XMLCDomFactory domFactory)
- Generate a class based on the class name
- Parameters:
className
- class name for the class to be generatedpath
- the path to the source file, generally a relative pathdomFactory
- the domFactory to use providing information about how
to build the XMLC class
Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.