echopoint.template.ui
Class JspXHTMLTemplateCompiler
java.lang.Object
echopoint.template.ui.XHTMLTemplateCompiler
echopoint.template.ui.JspXHTMLTemplateCompiler
- All Implemented Interfaces:
- TemplateCompiler
public class JspXHTMLTemplateCompiler
- extends XHTMLTemplateCompiler
JspXHTMLTemplateCompiler can compile
XHTML source template data from JSP page
into a XHTML DO Element.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JspXHTMLTemplateCompiler
public JspXHTMLTemplateCompiler()
compileTemplateDataIntoXHTML
public Element compileTemplateDataIntoXHTML(Connection c,
TemplateDataSource tds)
throws Exception
- Description copied from interface:
TemplateCompiler
- This method is called to compile a template data source
of template data into a DOM XHTML Element.
- Specified by:
compileTemplateDataIntoXHTML in interface TemplateCompiler- Overrides:
compileTemplateDataIntoXHTML in class XHTMLTemplateCompiler
- Parameters:
c - - the connectiontds - - the template data source
- Returns:
- a DOM Element in XHTML or null if it cant be compiled
- Throws:
Exception - - can Throw exceptions such as parse exceptions etc..- See Also:
TemplateCompiler.compileTemplateDataIntoXHTML(nextapp.echo.webcontainer.Connection, echopoint.template.TemplateDataSource)
templateDataAsString
public String templateDataAsString(Connection c,
TemplateDataSource tds)
throws Exception
- Specified by:
templateDataAsString in interface TemplateCompiler- Overrides:
templateDataAsString in class XHTMLTemplateCompiler
- Throws:
Exception