|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrendsite.renderer.Renderer
public abstract class Renderer
Base renderer.
10NOV09 - EPG - First package release.
| Field Summary | |
|---|---|
protected things.thinger.io.Logger |
logger
A logger. |
protected PropertiesGeneralContext |
pcontext
The general properties context. |
protected RenderingContext |
rcontext
The rendering context. |
| Constructor Summary | |
|---|---|
Renderer(RenderingContext rcontext,
PropertiesGeneralContext pcontext)
Construct a renderer. |
|
| Method Summary | |
|---|---|
static java.lang.String |
blankIfNull(java.lang.String value)
Return a blank string if the passed string is null. |
abstract void |
check(Node_File source)
Check a file. |
abstract void |
render(Node_Directory source)
Render a directory context. |
abstract void |
render(Node_File source)
Render a file. |
abstract void |
renderFrame(Node_Directory source)
Render the frame itself. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RenderingContext rcontext
protected PropertiesGeneralContext pcontext
protected things.thinger.io.Logger logger
| Constructor Detail |
|---|
public Renderer(RenderingContext rcontext,
PropertiesGeneralContext pcontext)
throws things.common.ThingsException
rcontext - The rendering context. A renderer cannot change context.pcontext - general properties context.
ThingsException. - This will usually happen only if you give it a bad context.
things.common.ThingsException| Method Detail |
|---|
public abstract void render(Node_File source)
throws things.common.ThingsException
source - The file to render.
things.common.ThingsException
public abstract void check(Node_File source)
throws things.common.ThingsException
IMPORTANT! IMPORTANT! Neighbors are determined during rendering, not spidering. If the neighbor is not opened for write, but an old version exists, it will be treated as a dead file and removed during cleanup. You can make
source - The file to render.
things.common.ThingsException
public abstract void render(Node_Directory source)
throws things.common.ThingsException
source - the source directory
things.common.ThingsException
public abstract void renderFrame(Node_Directory source)
throws things.common.ThingsException
source - the source directory
things.common.ThingsExceptionpublic static java.lang.String blankIfNull(java.lang.String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||