xdoclet.template
public class TemplateParser extends TemplateEngine
Version: $Revision: 1.12 $
UNKNOWN: December 27, 2001
Constructor Summary | |
---|---|
protected | TemplateParser()
Initialize the Template Engine. |
Method Summary | |
---|---|
void | addMergeFile(String file)
Callback by the MergeTagsHandler to give the parser the list of merge files involved.
|
void | generate(String template)
In this class, this method does not -generate- anything but only parse the files. |
String[] | getMergeFiles()
Return the list of merge files involved in the generation.
|
static TemplateParser | getParserInstance()
Gets the ParserInstance attribute of the TemplateParser class
|
TemplateTagHandler | getTagHandlerFor(String prefix) |
boolean | hasMergeFile(String file)
Callback by the MergeTagsHandler to know if a merge file has already been taken into account.
|
protected Object | invoke(Method m, Object cmdImplProvider, Object[] params1)
Describe what the method does
|
protected void | invokeContentMethod(String cmd, Properties attributes, String template, int i)
Describe what the method does
|
void | start()
A utility method used for generating the dest_file based on template_file template file.
|
Parameters: file one merge file involved
Parameters: template Description of Parameter
Throws: TemplateException Description of Exception
Returns: an array of File
Returns: The ParserInstance value
Parameters: file
Returns:
Parameters: m Describe what the parameter does cmdImplProvider Describe what the parameter does params1 Describe what the parameter does
Returns: Describe the return value
Throws: InvocationTargetException Describe the exception IllegalAccessException Describe the exception TemplateException Describe the exception
Parameters: cmd Describe what the parameter does attributes Describe what the parameter does template Describe what the parameter does i Describe what the parameter does
Throws: TemplateException Describe the exception
Throws: TemplateException Description of Exception