EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.template.ui
Class JspXHTMLTemplateCompiler

java.lang.Object
  extended by echopoint.template.ui.XHTMLTemplateCompiler
      extended by 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.


Constructor Summary
JspXHTMLTemplateCompiler()
           
 
Method Summary
 Element compileTemplateDataIntoXHTML(Connection c, TemplateDataSource tds)
          This method is called to compile a template data source of template data into a DOM XHTML Element.
 String templateDataAsString(Connection c, TemplateDataSource tds)
           
 
Methods inherited from class echopoint.template.ui.XHTMLTemplateCompiler
buildDocumentBuilder, compileXHTML, getNonValidatingDocumentBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspXHTMLTemplateCompiler

public JspXHTMLTemplateCompiler()
Method Detail

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 connection
tds - - 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

EchoPoint API - 3.0.0b5
App Webcontainer