|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Method Summary | |
---|---|
string |
getLoaderNameForResource(string resourceName) Determines is a template exists, and returns name of the loader that provides it. This is a slightly less hokey way to support the Velocity.templateExists() utility method, which was broken when per-template encoding was introduced. We can revisit this. * |
NVelocity.Runtime.Resource.Resource |
getResource(string resourceName, int resourceType, string encoding) Gets the named resource. Returned class type corresponds to specified type (i.e. Templateto RESOURCE_TEMPLATE). * |
void |
initialize(NVelocity.Runtime.RuntimeServices rs) A template resources. A static content resource. Initialize the ResourceManager. It is assumed that assembleSourceInitializers() has been called before this is run. |
Method Detail |
---|
public string getLoaderNameForResource(string resourceName)
Determines is a template exists, and returns name of the loader that provides it. This is a slightly less hokey way to support the Velocity.templateExists() utility method, which was broken when per-template encoding was introduced. We can revisit this. *
Parameters:
resourceName
- Name of template or content resource
public NVelocity.Runtime.Resource.Resource getResource(string resourceName, int resourceType, string encoding)
Gets the named resource. Returned class type corresponds to specified type (i.e.
Templateto
RESOURCE_TEMPLATE). *
Parameters:
resourceName
- The name of the resource to retrieve.
resourceType
- The type of resource (RESOURCE_TEMPLATE,
RESOURCE_CONTENT, etc.).
encoding
- The character encoding to use.
public void initialize(NVelocity.Runtime.RuntimeServices rs)
A template resources. A static content resource. Initialize the ResourceManager. It is assumed that assembleSourceInitializers() has been called before this is run.
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |