ch.sahits.codegen.ui.input
Class XMLInputFileGeneratorClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by ch.sahits.codegen.ui.java.ProjectClassLoaderV2
          extended by ch.sahits.codegen.ui.input.XMLInputFileGeneratorClassLoader

Deprecated. This class is obsolete since the xml parsre classes are retrieved through their extension point. This class will be removed in 3.0

@Deprecated
public final class XMLInputFileGeneratorClassLoader
extends ProjectClassLoaderV2

This class loader parses an XML input file for the model generator class that must be specified in a <modelgenerator> tag. The class is tried to load over the extension point ch.sahits.codegen.java.inputxmlparser or the ProjectClassLoaderV2.

Since:
0.9.3
Author:
Andi Hotz

Constructor Summary
XMLInputFileGeneratorClassLoader(IJavaProject project)
          Deprecated. Initialize the current active project
 
Method Summary
protected  java.lang.Class<?> findClass(java.lang.String name)
          Deprecated. This method is called when the class is not found on the classpath.
 
Methods inherited from class ch.sahits.codegen.ui.java.ProjectClassLoaderV2
loadClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLInputFileGeneratorClassLoader

public XMLInputFileGeneratorClassLoader(IJavaProject project)
Deprecated. 
Initialize the current active project

Parameters:
project - active project
Method Detail

findClass

protected java.lang.Class<?> findClass(java.lang.String name)
                                throws java.lang.ClassNotFoundException
Deprecated. 
This method is called when the class is not found on the classpath. Check out all extensions for the extension point ch.sahits.codegen.java.generator and look there for the class that implements the interface IBaseGenerator.

Overrides:
findClass in class ProjectClassLoaderV2
Parameters:
name - of the class to be found
Throws:
java.lang.ClassNotFoundException
See Also:
ProjectClassLoaderV2.findClass(java.lang.String)