Update of /cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache
In directory sc8-pr-cvs1:/tmp/cvs-serv22162/apache
Added Files:
SubTemplateEngine.java
Log Message:
Add Velocity tag
--- NEW FILE: SubTemplateEngine.java ---
/*
* Copyright (c) 2001, 2002 The XDoclet team
* All rights reserved.
*/
package xdoclet.modules.apache;
import java.util.Properties;
import xdoclet.XDocletException;
/**
* Common interface for the subtemplate engines
*
* @author zluspai
* @created July 16, 2003
*/
public interface SubTemplateEngine
{
/**
* Set a variable of the engine namespace
*
* @param name The name of the variable
* @param value The value of the varialbe
*/
public void setVariable(String name, Object value);
/**
* Get a value of a variable
*
* @param name
* @return
*/
public Object getVariable(String name);
/**
* Clear all variables
*/
public void clearVariables();
/**
* Generate template results
*
* @param template The template to parse
* @param attributes
* @return The results
* @exception XDocletException
* @throws xdoclet.XDocletException If any problems
*/
public String generate(String template, Properties attributes) throws
XDocletException;
}
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel