|
.NET Framework |
PREV TYPE NEXT TYPE |
FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT |
DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
NVelocity.Tool
Class ToolLoader
A view tool that allows template designers to load
an arbitrary object into the context. Any object
with a public constructor without parameters can be used
as a view tool.THIS CLASS IS HERE AS A PROOF OF CONCEPT ONLY. IT IS NOT
INTENDED FOR USE IN PRODUCTION ENVIRONMENTS. USE AT YOUR OWN RISK.
Constructor Summary |
ToolLoader() Initializes a new instance of the ToolLoader class. |
Method Summary |
object |
Load(string clazz)
Creates and returns an object of the specified classname.
The object must have a valid default constructor.
|
ToolLoader
public ToolLoader()
-
Initializes a new instance of the ToolLoader class.
Load
public object Load(string clazz)
-
Creates and returns an object of the specified classname.
The object must have a valid default constructor.
Parameters:
-
clazz
- the fully qualified class name of the object
Returns:
- an instance of the specified class or null if the class
could not be instantiated.
|
.NET Framework |
PREV TYPE NEXT TYPE |
FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT |
DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |