| java.lang.Object org.apache.velocity.app.event.implement.IncludeRelativePath
IncludeRelativePath | public class IncludeRelativePath implements IncludeEventHandler(Code) | | Event handler that looks for included files relative to the path of the
current template. The handler assumes that paths are separated by a forward
slash "/" or backwards slash "\".
author: Will Glass-Husain version: $Id: IncludeRelativePath.java 470256 2006-11-02 07:20:36Z wglass $ |
Method Summary | |
public String | includeEvent(String includeResourcePath, String currentResourcePath, String directiveName) Return path relative to the current template's path.
Parameters: includeResourcePath - the path as given in the include directive. Parameters: currentResourcePath - the path of the currently rendering template that includes theinclude directive. Parameters: directiveName - name of the directive used to include the resource. |
includeEvent | public String includeEvent(String includeResourcePath, String currentResourcePath, String directiveName)(Code) | | Return path relative to the current template's path.
Parameters: includeResourcePath - the path as given in the include directive. Parameters: currentResourcePath - the path of the currently rendering template that includes theinclude directive. Parameters: directiveName - name of the directive used to include the resource. (With thestandard directives this is either "parse" or "include"). new path relative to the current template's path |
|
|