Index

A B C D E F G H I L M O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

ABSOLUTE_ACTION - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
AbstractGroovyGen - Class in org.webpieces.templatingdev.api
 
AbstractGroovyGen() - Constructor for class org.webpieces.templatingdev.api.AbstractGroovyGen
 
ACTION - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 

B

begin - Variable in class org.webpieces.templatingdev.impl.source.TokenImpl
 
beginLineNumber - Variable in class org.webpieces.templatingdev.impl.source.TokenImpl
 

C

cleanup() - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
COMMENT - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
compile(GroovyClassLoader, String, String) - Method in class org.webpieces.templatingdev.impl.HtmlToJavaClassCompiler
 
compile(GroovyClassLoader, ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.GroovyToJavaClassCompiler
 
CompileCallback - Interface in org.webpieces.templatingdev.api
 
compiledGroovyClass(GroovyClassLoader, GroovyClass) - Method in interface org.webpieces.templatingdev.api.CompileCallback
 
compiledGroovyClass(GroovyClassLoader, GroovyClass) - Method in class org.webpieces.templatingdev.impl.DevTemplateCompileCallback
 
configure(Binder) - Method in class org.webpieces.templatingdev.api.DevTemplateModule
 
configure(Binder) - Method in class org.webpieces.templatingdev.api.StubModule
 

D

defineClass(String, byte[]) - Method in class org.webpieces.templatingdev.impl.OurGroovyClassLoader
 
DevTemplateCompileCallback - Class in org.webpieces.templatingdev.impl
 
DevTemplateCompileCallback() - Constructor for class org.webpieces.templatingdev.impl.DevTemplateCompileCallback
 
DevTemplateModule - Class in org.webpieces.templatingdev.api
 
DevTemplateModule(TemplateCompileConfig) - Constructor for class org.webpieces.templatingdev.api.DevTemplateModule
 
DevTemplateModule(TemplateCompileConfig, CompileCallback) - Constructor for class org.webpieces.templatingdev.api.DevTemplateModule
 
DevTemplateService - Class in org.webpieces.templatingdev.impl
 
DevTemplateService(RouterLookup, HtmlTagLookup, HtmlToJavaClassCompiler, TemplateCompileConfig) - Constructor for class org.webpieces.templatingdev.impl.DevTemplateService
 

E

ElseGen - Class in org.webpieces.templatingdev.impl.tags
 
ElseGen() - Constructor for class org.webpieces.templatingdev.impl.tags.ElseGen
 
ElseIfGen - Class in org.webpieces.templatingdev.impl.tags
 
ElseIfGen() - Constructor for class org.webpieces.templatingdev.impl.tags.ElseIfGen
 
end - Variable in class org.webpieces.templatingdev.impl.source.TokenImpl
 
END_TAG - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
endLineNumber - Variable in class org.webpieces.templatingdev.impl.source.TokenImpl
 
EOF - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
ESCAPE - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
EXPR - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 

F

FILE_VERIFY - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 

G

generate(String, String, String) - Method in class org.webpieces.templatingdev.impl.source.GroovyScriptGenerator
 
generateEnd(ScriptOutput, Token, int) - Method in interface org.webpieces.templatingdev.api.GroovyGen
 
generateEnd(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.ElseGen
 
generateEnd(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.ElseIfGen
 
generateEnd(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.IfGen
 
generateEnd(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.ListGen
 
generateEnd(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.TagGen
 
generateId() - Method in class org.webpieces.templatingdev.impl.source.UniqueIdGenerator
 
generateStart(ScriptOutput, Token, int) - Method in interface org.webpieces.templatingdev.api.GroovyGen
 
generateStart(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.ElseGen
 
generateStart(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.ElseIfGen
 
generateStart(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.IfGen
 
generateStart(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.ListGen
 
generateStart(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.TagGen
 
generateStartAndEnd(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.api.AbstractGroovyGen
 
generateStartAndEnd(ScriptOutput, Token, int) - Method in interface org.webpieces.templatingdev.api.GroovyGen
 
generateStartAndEnd(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.ListGen
 
generateStartAndEnd(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.TagGen
 
generateStartAttrs(ScriptOutput, Token, int) - Method in class org.webpieces.templatingdev.impl.tags.ParseTagArgs
 
GenLookup - Class in org.webpieces.templatingdev.impl.source
 
GenLookup(ListGen) - Constructor for class org.webpieces.templatingdev.impl.source.GenLookup
 
getCleanValue() - Method in interface org.webpieces.templatingdev.api.Token
Get's the entire String between #{ and }# including arguments
getCleanValue() - Method in class org.webpieces.templatingdev.impl.source.TokenImpl
 
getCustomTagsFromPlugin() - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
getEnd() - Method in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
getFileEncoding() - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
getFilePath() - Method in class org.webpieces.templatingdev.impl.source.TokenImpl
 
getFullClassName() - Method in class org.webpieces.templatingdev.impl.source.ScriptOutputImpl
 
getGenerator() - Method in class org.webpieces.templatingdev.impl.source.TagState
 
getGroovySrcWriteDirectory() - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
getLineMapping() - Method in class org.webpieces.templatingdev.impl.source.ScriptOutputImpl
 
getLineNumber() - Method in class org.webpieces.templatingdev.impl.source.ScriptOutputImpl
 
getName() - Method in interface org.webpieces.templatingdev.api.GroovyGen
 
getName() - Method in class org.webpieces.templatingdev.impl.tags.ElseGen
 
getName() - Method in class org.webpieces.templatingdev.impl.tags.ElseIfGen
 
getName() - Method in class org.webpieces.templatingdev.impl.tags.IfGen
 
getName() - Method in class org.webpieces.templatingdev.impl.tags.ListGen
 
getName() - Method in class org.webpieces.templatingdev.impl.tags.TagGen
 
getScriptSourceCode() - Method in class org.webpieces.templatingdev.impl.source.ScriptOutputImpl
 
getSourceLocation(boolean) - Method in interface org.webpieces.templatingdev.api.Token
When you throw an exception, you can add the location in the source by reading from the token it's location
getSourceLocation(boolean) - Method in class org.webpieces.templatingdev.impl.source.TokenImpl
 
getSrcPaths() - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
getStart() - Method in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
getTagName() - Method in class org.webpieces.templatingdev.impl.source.TokenImpl
 
getToken() - Method in class org.webpieces.templatingdev.impl.source.TagState
 
getUniqueId() - Method in class org.webpieces.templatingdev.impl.source.TagState
 
getValue() - Method in class org.webpieces.templatingdev.impl.source.TokenImpl
 
GroovyGen - Interface in org.webpieces.templatingdev.api
 
GroovyScriptGenerator - Class in org.webpieces.templatingdev.impl.source
 
GroovyScriptGenerator(TemplateTokenizer, ScriptWriter) - Constructor for class org.webpieces.templatingdev.impl.source.GroovyScriptGenerator
 
GroovyToJavaClassCompiler - Class in org.webpieces.templatingdev.impl
 
GroovyToJavaClassCompiler(CompileCallback) - Constructor for class org.webpieces.templatingdev.impl.GroovyToJavaClassCompiler
 

H

HtmlToJavaClassCompiler - Class in org.webpieces.templatingdev.impl
 
HtmlToJavaClassCompiler(GroovyScriptGenerator, GroovyToJavaClassCompiler, TemplateCompileConfig) - Constructor for class org.webpieces.templatingdev.impl.HtmlToJavaClassCompiler
 

I

IfGen - Class in org.webpieces.templatingdev.impl.tags
 
IfGen() - Constructor for class org.webpieces.templatingdev.impl.tags.IfGen
 
init() - Method in class org.webpieces.templatingdev.impl.source.GenLookup
 
init() - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
initialize() - Method in class org.webpieces.templatingdev.impl.DevTemplateService
 
isClassDefined(String) - Method in class org.webpieces.templatingdev.impl.OurGroovyClassLoader
 
isEndTag() - Method in interface org.webpieces.templatingdev.api.Token
 
isEndTag() - Method in class org.webpieces.templatingdev.impl.source.TokenImpl
 
isMustReadClassFromFileSystem() - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
isPluginClient() - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 

L

ListGen - Class in org.webpieces.templatingdev.impl.tags
 
ListGen(RoutePathTranslator) - Constructor for class org.webpieces.templatingdev.impl.tags.ListGen
 
loadAndRunTemplateImpl(String, StringWriter, Map<String, Object>) - Method in class org.webpieces.templatingdev.impl.DevTemplateService
 
loadTemplate(String, String) - Method in class org.webpieces.templatingdev.impl.DevTemplateService
 
lookup(String, TokenImpl) - Method in class org.webpieces.templatingdev.impl.source.GenLookup
 

M

matchesEnd(char, char, char) - Method in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
matchesStart(char, char, char) - Method in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
MAX_LINE_LENGTH - Static variable in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
MESSAGE - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 

O

org.webpieces.templatingdev.api - package org.webpieces.templatingdev.api
 
org.webpieces.templatingdev.impl - package org.webpieces.templatingdev.impl
 
org.webpieces.templatingdev.impl.source - package org.webpieces.templatingdev.impl.source
 
org.webpieces.templatingdev.impl.tags - package org.webpieces.templatingdev.impl.tags
 
OurGroovyClassLoader - Class in org.webpieces.templatingdev.impl
 
OurGroovyClassLoader() - Constructor for class org.webpieces.templatingdev.impl.OurGroovyClassLoader
 

P

parseSource() - Method in class org.webpieces.templatingdev.impl.source.TemplateTokenizerTask
 
ParseTagArgs - Class in org.webpieces.templatingdev.impl.tags
 
ParseTagArgs(RoutePathTranslator) - Constructor for class org.webpieces.templatingdev.impl.tags.ParseTagArgs
 
PLAIN - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
print(String) - Method in interface org.webpieces.templatingdev.api.ScriptOutput
 
print(String) - Method in class org.webpieces.templatingdev.impl.source.ScriptOutputImpl
 
printAction(TokenImpl, ScriptOutputImpl, boolean) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
printEnd(ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
printEndTag(TokenImpl, ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
printEscaped(TokenImpl, ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
printExpression(TokenImpl, ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
printFilePath(TokenImpl, ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
printHead(ScriptOutputImpl, String, String) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
println() - Method in interface org.webpieces.templatingdev.api.ScriptOutput
 
println() - Method in class org.webpieces.templatingdev.impl.source.ScriptOutputImpl
 
println(String, Token) - Method in interface org.webpieces.templatingdev.api.ScriptOutput
 
println(String, Token) - Method in class org.webpieces.templatingdev.impl.source.ScriptOutputImpl
 
printMessage(TokenImpl, ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
printPlain(TokenImpl, ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
printScript(TokenImpl, ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
printStartEndTag(TokenImpl, ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
This is for tags with no body(or ones where the body is optional and #{../}# was used.
printStartTag(TokenImpl, TokenImpl, ScriptOutputImpl) - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 
put(GroovyGen) - Method in class org.webpieces.templatingdev.impl.source.GenLookup
 

R

recordPath(String, String) - Method in interface org.webpieces.templatingdev.api.CompileCallback
 
recordPath(String, String) - Method in class org.webpieces.templatingdev.impl.DevTemplateCompileCallback
 
recordPath(String, String) - Method in class org.webpieces.templatingdev.impl.tags.RoutePathTranslator
 
recordRouteId(String, List<String>, String) - Method in interface org.webpieces.templatingdev.api.CompileCallback
Allows the compiler to write a file out with all routeids from html files that can be used at startup time to validate all routes so we catch any errors on mistyped route ids before going to production (ie.
recordRouteId(String, List<String>, String) - Method in class org.webpieces.templatingdev.impl.DevTemplateCompileCallback
 
RoutePathTranslator - Class in org.webpieces.templatingdev.impl.tags
 
RoutePathTranslator(CompileCallback) - Constructor for class org.webpieces.templatingdev.impl.tags.RoutePathTranslator
 

S

SCRIPT - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
ScriptOutput - Interface in org.webpieces.templatingdev.api
 
ScriptOutputImpl - Class in org.webpieces.templatingdev.impl.source
 
ScriptOutputImpl(String, String) - Constructor for class org.webpieces.templatingdev.impl.source.ScriptOutputImpl
 
ScriptWriter - Class in org.webpieces.templatingdev.impl.source
 
ScriptWriter(HtmlTagLookup, GenLookup, UniqueIdGenerator, RoutePathTranslator, TemplateCompileConfig) - Constructor for class org.webpieces.templatingdev.impl.source.ScriptWriter
 
setCustomTagsFromPlugin(Set<String>) - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
setFileEncoding(Charset) - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
setGroovySrcWriteDirectory(File) - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
setMustReadClassFromFileSystem(boolean) - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
setPluginClient(boolean) - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
setSrcPaths(List<VirtualFile>) - Method in class org.webpieces.templatingdev.api.TemplateCompileConfig
 
source - Variable in class org.webpieces.templatingdev.impl.source.TokenImpl
 
START_END_TAG - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
START_TAG - Enum constant in enum class org.webpieces.templatingdev.impl.source.TemplateToken
 
state - Variable in class org.webpieces.templatingdev.impl.source.TokenImpl
 
StubModule - Class in org.webpieces.templatingdev.api
 
StubModule() - Constructor for class org.webpieces.templatingdev.api.StubModule
 

T

TagGen - Class in org.webpieces.templatingdev.impl.tags
 
TagGen(String, Token, RoutePathTranslator) - Constructor for class org.webpieces.templatingdev.impl.tags.TagGen
 
TagState - Class in org.webpieces.templatingdev.impl.source
 
TagState(TokenImpl, GroovyGen, int) - Constructor for class org.webpieces.templatingdev.impl.source.TagState
 
TemplateCompileConfig - Class in org.webpieces.templatingdev.api
 
TemplateCompileConfig(boolean) - Constructor for class org.webpieces.templatingdev.api.TemplateCompileConfig
 
TemplateCompileConfig(List<VirtualFile>) - Constructor for class org.webpieces.templatingdev.api.TemplateCompileConfig
 
TemplateToken - Enum Class in org.webpieces.templatingdev.impl.source
 
TemplateTokenizer - Class in org.webpieces.templatingdev.impl.source
 
TemplateTokenizer() - Constructor for class org.webpieces.templatingdev.impl.source.TemplateTokenizer
 
TemplateTokenizerTask - Class in org.webpieces.templatingdev.impl.source
 
TemplateTokenizerTask(String, String) - Constructor for class org.webpieces.templatingdev.impl.source.TemplateTokenizerTask
 
Token - Interface in org.webpieces.templatingdev.api
 
TokenImpl - Class in org.webpieces.templatingdev.impl.source
 
TokenImpl(String, int, int, TemplateToken, int, int, String) - Constructor for class org.webpieces.templatingdev.impl.source.TokenImpl
 
tokenize(String, String) - Method in class org.webpieces.templatingdev.impl.source.TemplateTokenizer
 
toString() - Method in class org.webpieces.templatingdev.impl.source.ScriptOutputImpl
 
toString() - Method in class org.webpieces.templatingdev.impl.source.TokenImpl
 
translateRouteId(String, Token) - Method in class org.webpieces.templatingdev.impl.tags.RoutePathTranslator
 

U

UniqueIdGenerator - Class in org.webpieces.templatingdev.impl.source
 
UniqueIdGenerator() - Constructor for class org.webpieces.templatingdev.impl.source.UniqueIdGenerator
 
unprintUpToLastNewLine() - Method in class org.webpieces.templatingdev.impl.source.ScriptWriter
 

V

validatePreviousSibling(Token, Token) - Method in class org.webpieces.templatingdev.api.AbstractGroovyGen
Only needed in special cases like the #{else}# MUST have an #{/if} before it
validatePreviousSibling(Token, Token) - Method in class org.webpieces.templatingdev.impl.tags.ElseGen
 
validatePreviousSibling(Token, Token) - Method in class org.webpieces.templatingdev.impl.tags.ElseIfGen
 
valueOf(String) - Static method in enum class org.webpieces.templatingdev.impl.source.TemplateToken
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.webpieces.templatingdev.impl.source.TemplateToken
Returns an array containing the constants of this enum class, in the order they are declared.
verifyContentsHaveNoStartTag() - Method in class org.webpieces.templatingdev.impl.source.TokenImpl
 
A B C D E F G H I L M O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values