|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.webmacro.servlet.TemplateTool.MacroTemplateFactory
A factory class for creating MacroTemplate objects.
| Constructor Summary | |
TemplateTool.MacroTemplateFactory(Context ctx)
Constructor |
|
| Method Summary | |
TemplateTool.MacroTemplate |
fromFile(java.lang.String fileRef)
Creates a MacroTemplate from a file reference with a new context. |
TemplateTool.MacroTemplate |
fromString(java.lang.String s)
Creates a MacroTemplate from a string with a new context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TemplateTool.MacroTemplateFactory(Context ctx)
ctx - the context for the current request| Method Detail |
public TemplateTool.MacroTemplate fromString(java.lang.String s)
s - the template string
public TemplateTool.MacroTemplate fromFile(java.lang.String fileRef)
throws ResourceException
fileRef - a reference to the template file
ResourceException - if the file cannot be found or parsed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||