|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.icl.saxon.Loader
public class Loader
Loader is used to load a class given its name. The implementation varies in different Java environments.
Constructor Summary | |
---|---|
Loader()
|
Method Summary | |
---|---|
static Class |
getClass(String className)
Load a class using the class name provided. Note that the method does not check that the object is of the right class. |
static Object |
getInstance(String className)
Instantiate a class using the class name provided. Note that the method does not check that the object is of the right class. |
static void |
setTracing(boolean onOrOff)
Switch tracing on or off |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Loader()
Method Detail |
---|
public static void setTracing(boolean onOrOff)
public static Class getClass(String className) throws TransformerException
className
- A string containing the name of the
class, for example "com.microstar.sax.LarkDriver"
TransformerException
public static Object getInstance(String className) throws TransformerException
className
- A string containing the name of the
class, for example "com.microstar.sax.LarkDriver"
TransformerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |