|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectechopoint.template.ui.XHTMLTemplateCompiler
public class XHTMLTemplateCompiler
XHTMLTemplateCompiler can compile source XHTML template data
into.. well a XHTML DOM Element.
| Constructor Summary | |
|---|---|
XHTMLTemplateCompiler()
|
|
| Method Summary | |
|---|---|
protected static DocumentBuilder |
buildDocumentBuilder(TemplateCompilerHints compilerHints)
Called to return a DocumentBuilder based on the compiler
hints. |
Element |
compileTemplateDataIntoXHTML(Connection c,
TemplateDataSource tds)
This method is called to compile a template data source of template data into a DOM XHTML Element. |
protected Element |
compileXHTML(InputStream inputStream,
TemplateDataSource tds)
This does the actual compiling of a stream of XHTML into a XHTML DOM Element. |
protected static DocumentBuilder |
getNonValidatingDocumentBuilder()
Retrieves a thread-specific non validating DocumentBuilder. |
String |
templateDataAsString(Connection c,
TemplateDataSource tds)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XHTMLTemplateCompiler()
| Method Detail |
|---|
protected static final DocumentBuilder buildDocumentBuilder(TemplateCompilerHints compilerHints)
DocumentBuilder based on the compiler
hints.
compilerHints - -
the hints for the factory used to build the
DocumentBuilder which can be null.
DocumentBuilderprotected static DocumentBuilder getNonValidatingDocumentBuilder()
DocumentBuilder.
DocumentBuilder serving the current thread.
public Element compileTemplateDataIntoXHTML(Connection c,
TemplateDataSource tds)
throws Exception
TemplateCompiler
compileTemplateDataIntoXHTML in interface TemplateCompilerc - - the connectiontds - - the template data source
Exception - - can Throw exceptions such as parse exceptions etc..echopoint.template.ui.TemplateCompiler#compileTemplateDataIntoXHTML(nextapp.echo.webcontainer.RenderContext,
echopoint.template.TemplateDataSource)
public String templateDataAsString(Connection c,
TemplateDataSource tds)
throws Exception
templateDataAsString in interface TemplateCompilerException
protected Element compileXHTML(InputStream inputStream,
TemplateDataSource tds)
throws Exception
inputStream - -
this must be a stream of XHTML datatds - -
-
Exception
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||