Package gw.internal.gosu.template
Class SimpleTemplateHost
java.lang.Object
gw.internal.gosu.template.SimpleTemplateHost
- All Implemented Interfaces:
ITemplateHost
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeTemplate
(ITemplateGenerator precompiledTemplate, Writer writerOut) void
executeTemplate
(Reader readerTemplate, Writer writerOut) void
executeTemplate
(Reader readerTemplate, Writer writerOut, boolean strict) private static ISymbolTable
getTemplate
(Reader readerTemplate) getTemplate
(Reader readerTemplate, String strFqn) private static ISymbolTable
void
popScope()
private static void
void
private static void
void
void
void
removeSymbol
(String strName)
-
Field Details
-
g_symTableCtx
-
-
Constructor Details
-
SimpleTemplateHost
public SimpleTemplateHost()
-
-
Method Details
-
getSymTableCtx
-
pushSymTableCtx
-
popSymTableCtx
private static void popSymTableCtx() -
executeTemplate
- Specified by:
executeTemplate
in interfaceITemplateHost
- Parameters:
readerTemplate
-writerOut
-
-
executeTemplate
- Specified by:
executeTemplate
in interfaceITemplateHost
- Parameters:
readerTemplate
-writerOut
-
-
executeTemplate
- Specified by:
executeTemplate
in interfaceITemplateHost
-
getTemplate
- Specified by:
getTemplate
in interfaceITemplateHost
- Parameters:
readerTemplate
-
-
getTemplate
- Specified by:
getTemplate
in interfaceITemplateHost
-
pushScope
public void pushScope()- Specified by:
pushScope
in interfaceITemplateHost
-
popScope
public void popScope()- Specified by:
popScope
in interfaceITemplateHost
-
putSymbol
- Specified by:
putSymbol
in interfaceITemplateHost
- Parameters:
strName
-type
-value
-
-
putSymbol
- Parameters:
symbol
-
-
removeSymbol
- Parameters:
strName
-
-
getSymbolTable
- Specified by:
getSymbolTable
in interfaceITemplateHost
-
getThreadLocalSymbolTable
-