A C D F G H I M O P R S T

A

apply(String) - Method in interface temmental.Filter
Takes a String and return a String to display or pass to the next filter of the chain.
apply(In) - Method in interface temmental.ObjectFilter
Return an object of Out type initialized with the specified In object.

C

clear() - Static method in class temmental.TemplateRecorder
Clear the cache of all calls.
condition(T, int) - Method in interface temmental.ConditionalFunction
 
ConditionalConvertFunction<T> - Interface in temmental
 
ConditionalFunction<T> - Interface in temmental
 
containsKey(String) - Method in class temmental.TemplateMessages
Tests if the specified key is known in messages.
convert(Iterable<T>, ConvertFunction<T>) - Static method in class temmental.TemplateUtils
Convert a collection of items to a list of models using the given function.
ConvertFunction<T> - Interface in temmental
 
createList(Object...) - Static method in class temmental.TemplateUtils
Creates a list with the given models.
createModel(Object...) - Static method in class temmental.TemplateUtils
Creates a model: it is an association of key/value pairs.

D

DATE - Static variable in class temmental.Filters
 

F

Filter - Interface in temmental
Interface to implement to create a display transformer.
filter(Iterable<T>, ConditionalFunction<T>) - Static method in class temmental.TemplateUtils
Returns a list of items for which the given function is true.
filterAndConvert(Iterable<T>, ConditionalConvertFunction<T>) - Static method in class temmental.TemplateUtils
Filter and convert a collection of items to a list of models using the given function.
Filters - Class in temmental
 
Filters() - Constructor for class temmental.Filters
 
format(String, List<Object>) - Method in class temmental.TemplateMessages
Format the message with the specified key in messages with the specified parameters

G

getMessages() - Method in class temmental.Template
 
getModelForFile() - Method in class temmental.TemplateRecord
Returns the first model used on printFile(out, section, model) or printFile(out, section) calls.
getModelForSection(String) - Method in class temmental.TemplateRecord
Returns the first model used on printSection(out, section, model) or printSection(out, section) calls.
getModelsForFile() - Method in class temmental.TemplateRecord
Returns the list of models used on printFile(out, section, model) or printFile(out, section) calls.
getModelsForSection(String) - Method in class temmental.TemplateRecord
Returns the list of models used on printSection(out, section, model) or printSection(out, section) calls.
getPrintedSections() - Method in class temmental.TemplateRecord
Returns the list of printed section.
getString(String) - Method in class temmental.TemplateMessages
Searches the message with the specified key in messages.
getTemplateMessagesFilepaths() - Static method in class temmental.TemplateRecorder
Returns the messages corresponding to the given template
getTemplateRecordFilepaths() - Static method in class temmental.TemplateRecorder
 
getTemplateRecordFor(String) - Static method in class temmental.TemplateRecorder
Returns the record corresponding to the given template

H

hasSection(String) - Method in class temmental.Template
Tests if the given section exists in the template
HTML - Static variable in class temmental.Filters
 

I

isRecording() - Static method in class temmental.TemplateRecorder
Indicates if the calls are recorded

M

MATH - Static variable in class temmental.Filters
 

O

ObjectFilter<In,Out> - Interface in temmental
Interface to implement to create a display transformer.

P

populate(Map<String, Object>, T, int) - Method in interface temmental.ConvertFunction
Function to implement to populate the given model.
printFile(Writer) - Method in class temmental.Template
Prints the whole file on the stream.
printFile(Writer, Map<String, ? extends Object>) - Method in class temmental.Template
Prints the whole file on the stream.
printSection(Writer, String, Map<String, ? extends Object>) - Method in class temmental.Template
Prints a section of the file on the stream.
printSection(Writer, String) - Method in class temmental.Template
Prints a section of the file on the stream.

R

readProperties(String) - Static method in class temmental.TemplateUtils
Reads a properties file

S

setRecording(boolean) - Static method in class temmental.TemplateRecorder
Start or Stop recording

T

temmental - package temmental
 
Template - Class in temmental
Read and manipulate a template file to write data on an output stream.
Template(String, Map<String, ? extends ObjectFilter>, Properties) - Constructor for class temmental.Template
Create a template with the given parameters.
Template(String, Map<String, ? extends ObjectFilter>, Locale, Object...) - Constructor for class temmental.Template
 
Template(String, Map<String, ? extends ObjectFilter>, Properties, Locale) - Constructor for class temmental.Template
Create a template with the given parameters.
Template(String, Map<String, ? extends ObjectFilter>, ResourceBundle) - Constructor for class temmental.Template
Create a template with the given parameters.
Template(String, Map<String, ? extends ObjectFilter>, String) - Constructor for class temmental.Template
Create a template with the given parameters.
Template(String, Map<String, ? extends ObjectFilter>, String, Locale) - Constructor for class temmental.Template
Create a template with the given parameters.
TemplateException - Exception in temmental
Specific exception used by the template engine.
TemplateMessages - Class in temmental
Wrapper to ResourceBundle or Properties.
TemplateRecord - Class in temmental
Record of all calls concerning a template (test case).
TemplateRecorder - Class in temmental
Recorder for template calls (test case).
TemplateUtils - Class in temmental
Utilities to create models.
TEXT - Static variable in class temmental.Filters
 

A C D F G H I M O P R S T