|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrendsite.renderer.Renderer
rendsite.renderer.Renderer_Templatev1
public abstract class Renderer_Templatev1
The base for template version 1 renderers.
How to make rows:
item.1
type.1
desc.1
item.2
type.2
desc.2
10NOV09 - EPG - First package release.
| Nested Class Summary | |
|---|---|
protected class |
Renderer_Templatev1.RowMaker
The subclasses should use these to make rows. |
| Field Summary | |
|---|---|
static java.lang.String |
TEMPLATE_FIELD__COPYRIGHT
|
static java.lang.String |
TEMPLATE_FIELD__DIRECTORY
|
static java.lang.String |
TEMPLATE_FIELD__FILE
|
static java.lang.String |
TEMPLATE_FIELD__FILE_ORIGINAL
|
static java.lang.String |
TEMPLATE_FIELD__INFO
|
static java.lang.String |
TEMPLATE_FIELD__PROJECT
|
static java.lang.String |
TEMPLATE_FIELD__RENDSITE_NOTICE
|
static java.lang.String |
TEMPLATE_FIELD__ROOT
|
| Fields inherited from class rendsite.renderer.Renderer |
|---|
logger, pcontext, rcontext |
| Constructor Summary | |
|---|---|
Renderer_Templatev1(RenderingContext rcontext,
PropertiesGeneralContext pcontext)
Construct a renderer. |
|
| Method Summary | |
|---|---|
void |
check(Node_File source)
Check a file. |
void |
render(Node_Directory source)
Render a directory context. |
void |
render(Node_File source)
Render a file. |
void |
renderFrame(Node_Directory source)
Render the frame itself. |
abstract java.lang.String |
setRows(Node_Directory source,
things.data.ThingsPropertyView propertyView)
Set the row properties for replacement. |
| Methods inherited from class rendsite.renderer.Renderer |
|---|
blankIfNull |
| 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 TEMPLATE_FIELD__PROJECT
public static final java.lang.String TEMPLATE_FIELD__INFO
public static final java.lang.String TEMPLATE_FIELD__DIRECTORY
public static final java.lang.String TEMPLATE_FIELD__FILE
public static final java.lang.String TEMPLATE_FIELD__FILE_ORIGINAL
public static final java.lang.String TEMPLATE_FIELD__ROOT
public static final java.lang.String TEMPLATE_FIELD__COPYRIGHT
public static final java.lang.String TEMPLATE_FIELD__RENDSITE_NOTICE
| Constructor Detail |
|---|
public Renderer_Templatev1(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 java.lang.String setRows(Node_Directory source,
things.data.ThingsPropertyView propertyView)
throws java.lang.Throwable
source - the source directorypropertyView - the replacement properties
java.lang.Throwable
public void render(Node_File source)
throws things.common.ThingsException
render in class Renderersource - The file to render.
things.common.ThingsException
public 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
check in class Renderersource - The file to render.
things.common.ThingsException
public void render(Node_Directory source)
throws things.common.ThingsException
render in class Renderersource - the source directory
things.common.ThingsException
public void renderFrame(Node_Directory source)
throws things.common.ThingsException
renderFrame in class Renderersource - the source directory
things.common.ThingsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||