C D E F G H I L N O P R S T V W 
All Classes All Packages

C

CLASS_PREFIX - Static variable in interface gg.jte.internal.Constants
 
CLASS_SUFFIX - Static variable in interface gg.jte.internal.Constants
 
classDirectory - Variable in class gg.jte.internal.TemplateLoader
 
cleanAll() - Method in class gg.jte.internal.RuntimeTemplateLoader
 
cleanAll() - Method in class gg.jte.internal.TemplateLoader
 
cleanAll() - Method in class gg.jte.TemplateEngine
Cleans the directory containing the compiled template classes.
close() - Method in class gg.jte.output.FileOutput
 
close() - Method in class gg.jte.output.StringOutput
 
CodeResolver - Interface in gg.jte
 
Constants - Interface in gg.jte.internal
 
Content - gg.jte.internal.TemplateType
 
Content - Interface in gg.jte
 
ContentType - Enum in gg.jte
 
create(CodeResolver, ContentType) - Static method in class gg.jte.TemplateEngine
Creates a new template engine.
create(CodeResolver, Path, ContentType) - Static method in class gg.jte.TemplateEngine
Creates a new template engine.
createClassLoader() - Method in class gg.jte.internal.RuntimeTemplateLoader
 
createClassLoader() - Method in class gg.jte.internal.TemplateLoader
 
createPrecompiled(ContentType) - Static method in class gg.jte.TemplateEngine
Creates a new template engine.
createPrecompiled(Path, ContentType) - Static method in class gg.jte.TemplateEngine
Creates a new template engine.

D

DebugInfo - Class in gg.jte.internal
 
DebugInfo(String, int) - Constructor for class gg.jte.internal.DebugInfo
 

E

evaluate(BooleanSupplier) - Static method in class gg.jte.internal.NullCheck
 
evaluate(DoubleSupplier) - Static method in class gg.jte.internal.NullCheck
 
evaluate(IntSupplier) - Static method in class gg.jte.internal.NullCheck
 
evaluate(LongSupplier) - Static method in class gg.jte.internal.NullCheck
 
evaluate(Supplier<T>) - Static method in class gg.jte.internal.NullCheck
 

F

FileOutput - Class in gg.jte.output
 
FileOutput(Path) - Constructor for class gg.jte.output.FileOutput
 
FileOutput(Path, Charset) - Constructor for class gg.jte.output.FileOutput
 
flush() - Method in class gg.jte.output.StringOutput
 
ForSupport<T> - Class in gg.jte.support
 
ForSupport(Iterator<T>) - Constructor for class gg.jte.support.ForSupport
 

G

generateAll() - Method in class gg.jte.internal.RuntimeTemplateLoader
 
generateAll() - Method in class gg.jte.internal.TemplateLoader
 
generateAll() - Method in class gg.jte.TemplateEngine
Generates all template classes in the sources directory, to the compiled template classes directory.
get() - Method in class gg.jte.output.StringOutputPool
 
get() - Method in class gg.jte.support.ForSupport
 
getClassInfo(ClassLoader, String) - Method in class gg.jte.internal.RuntimeTemplateLoader
 
getClassInfo(ClassLoader, String) - Method in class gg.jte.internal.TemplateLoader
 
getClassLoader() - Method in class gg.jte.internal.RuntimeTemplateLoader
 
getClassLoader() - Method in class gg.jte.internal.Template
 
getClassLoader() - Method in class gg.jte.internal.TemplateLoader
 
getIndex() - Method in class gg.jte.support.ForSupport
 
getName() - Method in interface gg.jte.html.HtmlAttribute
 
getName() - Method in interface gg.jte.html.HtmlTag
 
getQuotes() - Method in interface gg.jte.html.HtmlAttribute
 
getTemplatesUsing(String) - Method in class gg.jte.internal.RuntimeTemplateLoader
 
getTemplatesUsing(String) - Method in class gg.jte.internal.TemplateLoader
 
getTemplatesUsing(String) - Method in class gg.jte.TemplateEngine
 
getTemplateType(String) - Method in class gg.jte.internal.TemplateLoader
 
getWriter() - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
getWriter() - Method in class gg.jte.output.FileOutput
 
getWriter() - Method in class gg.jte.output.PrintWriterOutput
 
getWriter() - Method in class gg.jte.output.StringOutput
 
getWriter() - Method in class gg.jte.output.WriterOutput
 
getWriter() - Method in interface gg.jte.TemplateOutput
 
gg.jte - package gg.jte
 
gg.jte.html - package gg.jte.html
 
gg.jte.internal - package gg.jte.internal
 
gg.jte.output - package gg.jte.output
 
gg.jte.support - package gg.jte.support
 

H

handleNullOutput(NullPointerException) - Static method in class gg.jte.internal.NullCheck
 
hasChanged(String) - Method in interface gg.jte.CodeResolver
 
hasChanged(String) - Method in class gg.jte.internal.RuntimeTemplateLoader
 
hasChanged(String) - Method in class gg.jte.internal.TemplateLoader
 
Html - gg.jte.ContentType
 
HtmlAttribute - Interface in gg.jte.html
 
HtmlContent - Interface in gg.jte.html
 
HtmlInterceptor - Interface in gg.jte.html
 
HtmlPolicy - Interface in gg.jte.html
 
HtmlPolicyException - Exception in gg.jte.html
 
HtmlPolicyException(String) - Constructor for exception gg.jte.html.HtmlPolicyException
 
HtmlTag - Interface in gg.jte.html
 
HtmlTemplateOutput - Interface in gg.jte.html
 

I

isAllUpperCase(String) - Static method in class gg.jte.internal.StringUtils
 
isBoolean() - Method in interface gg.jte.html.HtmlAttribute
 
isFirst() - Method in class gg.jte.support.ForSupport
 
isLast() - Method in class gg.jte.support.ForSupport
 
iterator() - Method in class gg.jte.support.ForSupport
 

L

Layout - gg.jte.internal.TemplateType
 
LAYOUT_DIRECTORY - Static variable in interface gg.jte.internal.Constants
 
line - Variable in class gg.jte.internal.DebugInfo
 
LINE_INFO_FIELD - Static variable in interface gg.jte.internal.Constants
 
load(String) - Method in class gg.jte.internal.TemplateLoader
 
LocalizationSupport - Interface in gg.jte.support
 
localize(String) - Method in interface gg.jte.support.LocalizationSupport
 
localize(String, Object...) - Method in interface gg.jte.support.LocalizationSupport
 
lookup(String) - Method in interface gg.jte.support.LocalizationSupport
 

N

name - Variable in class gg.jte.internal.DebugInfo
 
NAME_FIELD - Static variable in interface gg.jte.internal.Constants
 
NullCheck - Class in gg.jte.internal
 
NullCheck() - Constructor for class gg.jte.internal.NullCheck
 

O

of(Iterable<T>) - Static method in class gg.jte.support.ForSupport
 
of(T[]) - Static method in class gg.jte.support.ForSupport
 
OnDemand - gg.jte.internal.TemplateMode
 
onHtmlAttributeStarted(String, Map<String, Object>, TemplateOutput) - Method in interface gg.jte.html.HtmlInterceptor
 
onHtmlTagClosed(String, TemplateOutput) - Method in interface gg.jte.html.HtmlInterceptor
 
onHtmlTagOpened(String, Map<String, Object>, TemplateOutput) - Method in interface gg.jte.html.HtmlInterceptor
 
OwaspHtmlPolicy - Class in gg.jte.html
 
OwaspHtmlPolicy() - Constructor for class gg.jte.html.OwaspHtmlPolicy
 
OwaspHtmlTemplateOutput - Class in gg.jte.html
See https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html
OwaspHtmlTemplateOutput(TemplateOutput) - Constructor for class gg.jte.html.OwaspHtmlTemplateOutput
 

P

PACKAGE_NAME - Static variable in interface gg.jte.internal.Constants
 
pattern - Static variable in interface gg.jte.support.LocalizationSupport
 
Plain - gg.jte.ContentType
 
precompileAll() - Method in class gg.jte.TemplateEngine
Compiles all templates located in the sources directory, to the compiled template classes directory.
precompileAll(List<String>) - Method in class gg.jte.internal.RuntimeTemplateLoader
 
precompileAll(List<String>) - Method in class gg.jte.internal.TemplateLoader
 
precompileAll(List<String>) - Method in class gg.jte.TemplateEngine
Compiles all templates located in the sources directory, to the compiled template classes directory.
Precompiled - gg.jte.internal.TemplateMode
 
prepareForRendering(String) - Method in class gg.jte.TemplateEngine
Prepares the template with the given name for rendering
PrintWriterOutput - Class in gg.jte.output
 
PrintWriterOutput(PrintWriter) - Constructor for class gg.jte.output.PrintWriterOutput
 

R

render(TemplateOutput, HtmlInterceptor, Object) - Method in class gg.jte.internal.Template
 
render(String, Object, TemplateOutput) - Method in class gg.jte.TemplateEngine
Renders the template with the given name.
render(String, Map<String, Object>, TemplateOutput) - Method in class gg.jte.TemplateEngine
Renders the template with the given name.
renderLayout(String, Map<String, Object>, TemplateOutput) - Method in class gg.jte.TemplateEngine
Renders a layout with the given name.
renderMap(TemplateOutput, HtmlInterceptor, Map<String, Object>) - Method in class gg.jte.internal.Template
 
renderTag(String, Map<String, Object>, TemplateOutput) - Method in class gg.jte.TemplateEngine
Renders a tag with the given name.
reset() - Method in class gg.jte.output.StringOutput
 
resolve(String) - Method in interface gg.jte.CodeResolver
 
resolveAllTemplateNames() - Method in interface gg.jte.CodeResolver
 
resolveDebugInfo(ClassLoader, StackTraceElement[]) - Method in class gg.jte.internal.TemplateLoader
 
RuntimeTemplateLoader - Class in gg.jte.internal
 
RuntimeTemplateLoader(Path) - Constructor for class gg.jte.internal.RuntimeTemplateLoader
 

S

setContext(String, String) - Method in interface gg.jte.html.HtmlTemplateOutput
 
setContext(String, String) - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
setHtmlAttributes(String[]) - Method in class gg.jte.internal.RuntimeTemplateLoader
 
setHtmlAttributes(String[]) - Method in class gg.jte.internal.TemplateLoader
 
setHtmlAttributes(String...) - Method in class gg.jte.TemplateEngine
Intercepts the given html attributes for configured htmlTags during template compilation and calls the configured htmlInterceptor during template rendering.
setHtmlInterceptor(HtmlInterceptor) - Method in class gg.jte.TemplateEngine
Interceptor that is called during template rendering when one of the configured htmlTags is rendered.
setHtmlPolicy(HtmlPolicy) - Method in class gg.jte.internal.RuntimeTemplateLoader
 
setHtmlPolicy(HtmlPolicy) - Method in class gg.jte.internal.TemplateLoader
 
setHtmlPolicy(HtmlPolicy) - Method in class gg.jte.TemplateEngine
Policy that checks the parsed HTML at compile time.
setHtmlTags(String[]) - Method in class gg.jte.internal.RuntimeTemplateLoader
 
setHtmlTags(String[]) - Method in class gg.jte.internal.TemplateLoader
 
setHtmlTags(String...) - Method in class gg.jte.TemplateEngine
Intercepts the given html tags during template compilation and calls the configured htmlInterceptor during template rendering.
setNullSafeTemplateCode(boolean) - Method in class gg.jte.internal.RuntimeTemplateLoader
 
setNullSafeTemplateCode(boolean) - Method in class gg.jte.internal.TemplateLoader
 
setNullSafeTemplateCode(boolean) - Method in class gg.jte.TemplateEngine
Experimental mode, that ignores any NullPointerException that occurs in template files.
setTrimControlStructures(boolean) - Method in class gg.jte.internal.RuntimeTemplateLoader
 
setTrimControlStructures(boolean) - Method in class gg.jte.internal.TemplateLoader
 
setTrimControlStructures(boolean) - Method in class gg.jte.TemplateEngine
Experimental mode, that trims control structures, resulting in prettier output.
startsWithIgnoringCaseAndWhitespaces(String, String) - Static method in class gg.jte.internal.StringUtils
 
StringOutput - Class in gg.jte.output
 
StringOutput() - Constructor for class gg.jte.output.StringOutput
 
StringOutput(int) - Constructor for class gg.jte.output.StringOutput
 
StringOutputPool - Class in gg.jte.output
 
StringOutputPool() - Constructor for class gg.jte.output.StringOutputPool
 
StringUtils - Class in gg.jte.internal
 
StringUtils() - Constructor for class gg.jte.internal.StringUtils
 

T

Tag - gg.jte.internal.TemplateType
 
TAG_DIRECTORY - Static variable in interface gg.jte.internal.Constants
 
TAG_EXTENSION - Static variable in interface gg.jte.internal.Constants
 
Template - Class in gg.jte.internal
 
Template - gg.jte.internal.TemplateType
 
Template(String, TemplateType, Class<?>) - Constructor for class gg.jte.internal.Template
 
TemplateEngine - Class in gg.jte
jte is a simple, yet powerful template engine for Java.
TemplateException - Exception in gg.jte
 
TemplateException(String) - Constructor for exception gg.jte.TemplateException
 
TemplateException(String, Throwable) - Constructor for exception gg.jte.TemplateException
 
TemplateLoader - Class in gg.jte.internal
 
TemplateLoader(Path) - Constructor for class gg.jte.internal.TemplateLoader
 
TemplateMode - Enum in gg.jte.internal
 
TemplateOutput - Interface in gg.jte
 
TemplateType - Enum in gg.jte.internal
 
TemplateUtils - Class in gg.jte.internal
 
TemplateUtils() - Constructor for class gg.jte.internal.TemplateUtils
 
toContent(Object) - Static method in class gg.jte.internal.TemplateUtils
 
toMap(Object...) - Static method in class gg.jte.internal.TemplateUtils
 
toString() - Method in class gg.jte.output.StringOutput
 

V

validateHtmlAttribute(HtmlTag, HtmlAttribute) - Method in interface gg.jte.html.HtmlPolicy
 
validateHtmlAttribute(HtmlTag, HtmlAttribute) - Method in class gg.jte.html.OwaspHtmlPolicy
 
validateHtmlTag(HtmlTag) - Method in interface gg.jte.html.HtmlPolicy
 
validateHtmlTag(HtmlTag) - Method in class gg.jte.html.OwaspHtmlPolicy
 
valueOf(String) - Static method in enum gg.jte.ContentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum gg.jte.internal.TemplateMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum gg.jte.internal.TemplateType
Returns the enum constant of this type with the specified name.
values() - Static method in enum gg.jte.ContentType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum gg.jte.internal.TemplateMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum gg.jte.internal.TemplateType
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(char[]) - Method in class gg.jte.output.StringOutput
 
write(char[], int, int) - Method in class gg.jte.output.StringOutput
 
write(int) - Method in class gg.jte.output.StringOutput
 
write(String) - Method in class gg.jte.output.StringOutput
 
write(String, int, int) - Method in class gg.jte.output.StringOutput
 
writeContent(String) - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
writeContent(String) - Method in class gg.jte.output.FileOutput
 
writeContent(String) - Method in class gg.jte.output.PrintWriterOutput
 
writeContent(String) - Method in class gg.jte.output.StringOutput
 
writeContent(String) - Method in class gg.jte.output.WriterOutput
 
writeContent(String) - Method in interface gg.jte.TemplateOutput
 
WriterOutput - Class in gg.jte.output
 
WriterOutput(Writer) - Constructor for class gg.jte.output.WriterOutput
 
writeTo(HtmlTemplateOutput) - Method in interface gg.jte.html.HtmlContent
 
writeTo(TemplateOutput) - Method in interface gg.jte.Content
 
writeTo(TemplateOutput) - Method in interface gg.jte.html.HtmlContent
 
writeUserContent(boolean) - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
writeUserContent(boolean) - Method in class gg.jte.output.StringOutput
 
writeUserContent(boolean) - Method in interface gg.jte.TemplateOutput
 
writeUserContent(byte) - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
writeUserContent(byte) - Method in class gg.jte.output.StringOutput
 
writeUserContent(byte) - Method in interface gg.jte.TemplateOutput
 
writeUserContent(char) - Method in interface gg.jte.TemplateOutput
 
writeUserContent(double) - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
writeUserContent(double) - Method in class gg.jte.output.StringOutput
 
writeUserContent(double) - Method in interface gg.jte.TemplateOutput
 
writeUserContent(float) - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
writeUserContent(float) - Method in class gg.jte.output.StringOutput
 
writeUserContent(float) - Method in interface gg.jte.TemplateOutput
 
writeUserContent(int) - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
writeUserContent(int) - Method in class gg.jte.output.StringOutput
 
writeUserContent(int) - Method in interface gg.jte.TemplateOutput
 
writeUserContent(long) - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
writeUserContent(long) - Method in class gg.jte.output.StringOutput
 
writeUserContent(long) - Method in interface gg.jte.TemplateOutput
 
writeUserContent(short) - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
writeUserContent(short) - Method in class gg.jte.output.StringOutput
 
writeUserContent(short) - Method in interface gg.jte.TemplateOutput
 
writeUserContent(Content) - Method in interface gg.jte.TemplateOutput
 
writeUserContent(Enum<?>) - Method in interface gg.jte.TemplateOutput
 
writeUserContent(String) - Method in class gg.jte.html.OwaspHtmlTemplateOutput
 
writeUserContent(String) - Method in interface gg.jte.TemplateOutput
 
C D E F G H I L N O P R S T V W 
All Classes All Packages