|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rshtech.jspwiki.HtmlRenderer
public class HtmlRenderer
TODO Class summary sentence. Class documentation.
| Field Summary | |
|---|---|
static java.lang.String |
TMP_DIR_NAME
|
static java.lang.String |
WIKI_APP_NAME_PROP
|
static java.lang.String |
WIKI_ATTACH_DIR_PROP
|
static java.lang.String |
WIKI_AUTHORIZER
|
static java.lang.String |
WIKI_SRC_DIR_PROP
|
| Constructor Summary | |
|---|---|
HtmlRenderer()
Default constructor which sets up the rendering engine with the default engine properties. |
|
HtmlRenderer(java.util.Properties jspwikiProps)
Constructor that sets up a rendering engine with the specified engine properties. |
|
HtmlRenderer(java.util.Properties jspwikiProps,
java.util.Properties additional)
Constructor that sets up a rendering engine with the specified engine properties and with the additional properties (non-jspwiki properties). |
|
| Method Summary | |
|---|---|
boolean |
render(java.lang.String name,
java.io.File srcDir,
java.io.File templateDir,
java.lang.String templateName,
java.io.File destDir)
Render an HTML page for the given wiki name, drawing the wiki source from the specified source directory using the specified template. |
boolean |
render(java.lang.String name,
java.io.File srcDir,
java.io.File templateDir,
java.lang.String templateName,
java.io.Writer writer)
Render an HTML page for the given wiki name, drawing the wiki source from the specified source directory using the specified template. |
void |
setVariable(java.lang.String name,
java.lang.String value)
Interface for changing jspwiki.* variables without reinstantiating the engine. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TMP_DIR_NAME
public static final java.lang.String WIKI_APP_NAME_PROP
public static final java.lang.String WIKI_SRC_DIR_PROP
public static final java.lang.String WIKI_AUTHORIZER
public static final java.lang.String WIKI_ATTACH_DIR_PROP
| Constructor Detail |
|---|
public HtmlRenderer()
throws com.ecyrd.jspwiki.WikiException
com.ecyrd.jspwiki.WikiException
public HtmlRenderer(java.util.Properties jspwikiProps)
throws com.ecyrd.jspwiki.WikiException
com.ecyrd.jspwiki.WikiException
public HtmlRenderer(java.util.Properties jspwikiProps,
java.util.Properties additional)
throws com.ecyrd.jspwiki.WikiException
com.ecyrd.jspwiki.WikiException| Method Detail |
|---|
public boolean render(java.lang.String name,
java.io.File srcDir,
java.io.File templateDir,
java.lang.String templateName,
java.io.File destDir)
throws com.ecyrd.jspwiki.WikiException
name - the wiki namesrcDir - the directory the wiki source files live intemplateDir - the directory the templates and template resource live intemplateName - the name of the template file (which lives in the templateDir)destDir - where to store the generated html, as ${wikiName}.html.
com.ecyrd.jspwiki.WikiException
public boolean render(java.lang.String name,
java.io.File srcDir,
java.io.File templateDir,
java.lang.String templateName,
java.io.Writer writer)
throws com.ecyrd.jspwiki.WikiException
name - the wiki namesrcDir - the directory the wiki source files live intemplateDir - the directory the templates and template resource live intemplateName - the name of the template file (which lives in the templateDir)write - Writer to render HTML to.
com.ecyrd.jspwiki.WikiException
public void setVariable(java.lang.String name,
java.lang.String value)
name - value -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||