|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.TemplatesContainer
public class TemplatesContainer
Simple container to gather together services that support the separation of a template engine within the Web Framework. Web Scripts have their own script processor and template processor registries. Templates process outside of this and can have entirely different processors or search paths.
Constructor Summary | |
---|---|
TemplatesContainer()
|
Method Summary | |
---|---|
ScriptProcessorRegistry |
getScriptProcessorRegistry()
Gets the script processor registry. |
TemplateProcessorRegistry |
getTemplateProcessorRegistry()
Gets the template processor registry. |
void |
reset()
Resets the templates container |
void |
setScriptProcessorRegistry(ScriptProcessorRegistry scriptProcessorRegistry)
Sets the script processor registry. |
void |
setTemplateProcessorRegistry(TemplateProcessorRegistry templateProcessorRegistry)
Sets the template processor registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplatesContainer()
Method Detail |
---|
public void setTemplateProcessorRegistry(TemplateProcessorRegistry templateProcessorRegistry)
templateProcessorRegistry
- the new template processor registrypublic TemplateProcessorRegistry getTemplateProcessorRegistry()
public void setScriptProcessorRegistry(ScriptProcessorRegistry scriptProcessorRegistry)
scriptProcessorRegistry
- the new script processor registrypublic ScriptProcessorRegistry getScriptProcessorRegistry()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |