|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrendsite.engine.Context
rendsite.engine.RenderingContext
public class RenderingContext
Context for rendering.
10NOV09 - EPG - First package release.
| Field Summary | |
|---|---|
RendererCatalog |
renderers
|
| Fields inherited from class rendsite.engine.Context |
|---|
configuration, logger, si |
| Constructor Summary | |
|---|---|
RenderingContext(RendsiteConfiguration configuration,
FileContext fcontext,
CategoryManager categoryManager)
Create a context. |
|
| Method Summary | |
|---|---|
Category |
CATEGORY_LOOKUP_EXTENSION(java.lang.String extension)
It'll give you whatever the Category manager finds for that extension. |
java.util.List<Node_File> |
GET_CATALOGABLE_FILES(Node_Directory directory)
Get the files for the catalog that have been filtered for ignores and excludes. |
java.util.List<Node_Directory> |
GET_CATALOGABLE_SUBDIRECTORIES(Node_Directory directory)
Get the subdirectories for the catalog that have been filtered for ignores, excludes, and no catalog name (which will happen if the subdirectory was marked as copy only, but no catalog was explicitely configured. |
java.lang.String |
GET_TEMPLATE(java.lang.String pathOffset)
Get a template. |
things.thinger.io.Logger |
getLogger()
Get the logger for rendering. |
java.lang.String |
RENDER_TYPE(Node_File theFile)
Render a 'type' text. |
void |
reset()
Reset the context. |
RenderingType |
RESOLVE_RENDERING_TYPE(Node_File theFile)
Get the rendering type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public RendererCatalog renderers
| Constructor Detail |
|---|
public RenderingContext(RendsiteConfiguration configuration,
FileContext fcontext,
CategoryManager categoryManager)
throws java.lang.Throwable
configuration - the configuration for the system.fcontext - the file context.categoryManager - the category manager.
java.lang.Throwable - normally this will only happen if you pass a null or bad SystemInterface.| Method Detail |
|---|
public void reset()
throws java.lang.Throwable
reset in interface Resetablereset in class Contextjava.lang.Throwable - if it could not completely reset state.public things.thinger.io.Logger getLogger()
public java.lang.String GET_TEMPLATE(java.lang.String pathOffset)
throws java.lang.Throwable
pathOffset - path from the source root to the template file.
java.lang.Throwable
public java.util.List<Node_Directory> GET_CATALOGABLE_SUBDIRECTORIES(Node_Directory directory)
throws java.lang.Throwable
directory - the directory from which to get the subs.
java.lang.Throwable
public java.util.List<Node_File> GET_CATALOGABLE_FILES(Node_Directory directory)
throws java.lang.Throwable
directory - the directory from which to get the files.
java.lang.Throwable
public Category CATEGORY_LOOKUP_EXTENSION(java.lang.String extension)
throws java.lang.Throwable
extension - the file extension
java.lang.Throwable
public java.lang.String RENDER_TYPE(Node_File theFile)
throws java.lang.Throwable
theFile -
java.lang.Throwable
public RenderingType RESOLVE_RENDERING_TYPE(Node_File theFile)
throws java.lang.Throwable
theFile -
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||