org.melati.app
Class DSDApp
java.lang.Object
org.melati.app.AbstractConfigApp
org.melati.app.AbstractPoemApp
org.melati.app.AbstractTemplateApp
org.melati.app.DSDApp
- All Implemented Interfaces:
- App
public class DSDApp
- extends AbstractTemplateApp
- Since:
- 31 May 2007
- Author:
- timp
Constructor Summary |
DSDApp()
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSDApp
public DSDApp()
- Constructor.
doTemplateRequest
protected String doTemplateRequest(Melati melati,
TemplateContext templateContext)
throws Exception
- The main method to override.
- Specified by:
doTemplateRequest
in class AbstractTemplateApp
- Parameters:
melati
- A Melati
with arguments and properties settemplateContext
- A TemplateContext
containing a Melati
- Returns:
- the name of a template to expand
- Throws:
Exception
- if anything goes wrong- See Also:
(org.melati.Melati, org.melati.template.ServletTemplateContext)
dsdTemplate
protected String dsdTemplate(TemplateContext context)
- Returns:
- the DSD template name, the extension is added by the template engine
main
public static void main(String[] args)
throws Exception
- The main entry point.
- Parameters:
args
- in format db table troid method
where method is a template name
- Throws:
Exception
Copyright © 2000-2010 PanEris. All Rights Reserved.