A C D F G I J K L M O R S T W 
All Classes All Packages

A

Autotest - Class in org.rosaenlg.lib
Autotest structure.
Autotest(boolean, String, List<String>) - Constructor for class org.rosaenlg.lib.Autotest
Classic constructor.
Autotest(JSONObject) - Constructor for class org.rosaenlg.lib.Autotest
Constructor from a JSON snippet.
AutotestException - Exception in org.rosaenlg.lib
Exception thrown when auto test fails.
AutotestException(String, String, String) - Constructor for exception org.rosaenlg.lib.AutotestException
Constructor when rendered is different than excepted.
AutotestException(String, Throwable) - Constructor for exception org.rosaenlg.lib.AutotestException
Constructor when rendering failed.

C

Cli - Class in org.rosaenlg.lib
Command line, for development and tests purposes only.
Cli() - Constructor for class org.rosaenlg.lib.Cli
 
CompiledClientException - Exception in org.rosaenlg.lib
Exception thrown when compile client fails.
CompiledClientException(String, Throwable) - Constructor for exception org.rosaenlg.lib.CompiledClientException
Constructor.
CompileException - Exception in org.rosaenlg.lib
Exception thrown when compilation fails.
CompileException(String, Throwable) - Constructor for exception org.rosaenlg.lib.CompileException
Constructor.
CompileInfo - Class in org.rosaenlg.lib
RosaeNLG compilation options helper.
CompileInfo() - Constructor for class org.rosaenlg.lib.CompileInfo
Default constructor, does nothing.
CompileInfo(JSONObject) - Constructor for class org.rosaenlg.lib.CompileInfo
Constructor from json parsed object.
CompileInfo(CompileInfo) - Constructor for class org.rosaenlg.lib.CompileInfo
Constructor that clones an existing CompileInfo object.
completeRenderOptionsOutput(JSONObject) - Method in class org.rosaenlg.lib.RenderOptionsOutput
Completes existing object by picking additionnal output parameters.

D

defaultAmong - Variable in class org.rosaenlg.lib.RenderOptionsInput
default among
defaultSynoMode - Variable in class org.rosaenlg.lib.RenderOptionsInput
default synonym mode
destroy() - Method in class org.rosaenlg.lib.RosaeContext
Destroys the object by closing its context.
DestroyException - Exception in org.rosaenlg.lib
Exception thrown when the Graal context could not be destroyed.
DestroyException(String, Throwable) - Constructor for exception org.rosaenlg.lib.DestroyException
Constructor.

F

forceRandomSeed - Variable in class org.rosaenlg.lib.RenderOptionsInput
force random seed

G

getActivate() - Method in class org.rosaenlg.lib.Autotest
Getter on activate.
getAutotest() - Method in class org.rosaenlg.lib.JsonPackageSrc
Getter on the auto test part of the package.
getCompiledClient() - Method in class org.rosaenlg.lib.RosaeContext
Create a compiled file for client side rendering.
getCompileInfo() - Method in class org.rosaenlg.lib.JsonPackageSrc
Getter on the compile options.
getDefaultAmong() - Method in class org.rosaenlg.lib.RenderOptionsInput
gets the defaultAmong value.
getDefaultSynoMode() - Method in class org.rosaenlg.lib.RenderOptionsInput
gets the default synonym mode.
getEntryTemplate() - Method in class org.rosaenlg.lib.JsonPackageSrc
Returns the entry template.
getExpected() - Method in class org.rosaenlg.lib.Autotest
Getter on expected result.
getForceRandomSeed() - Method in class org.rosaenlg.lib.RenderOptionsInput
gets the forced random seed.
getInitialPackage() - Method in class org.rosaenlg.lib.JsonPackage
Returns the initial value of the template, as a String.
getJsonInput() - Method in class org.rosaenlg.lib.Autotest
Getter on jsonInput.
getJsonPackageAsString() - Method in class org.rosaenlg.lib.RosaeContext
Getter on the original JSON package containing the template.
getLanguage() - Method in class org.rosaenlg.lib.CompileInfo
Returns the language.
getLanguage() - Method in class org.rosaenlg.lib.RenderOptionsInput
gets the language.
getOutputData() - Method in class org.rosaenlg.lib.RenderResult
Returns the output data as JSON string.
getRandomSeed() - Method in class org.rosaenlg.lib.RenderOptionsOutput
gets the random seed.
getRenderDebug() - Method in class org.rosaenlg.lib.RenderOptionsInput
gets the renderDebug value.
getRenderedText() - Method in class org.rosaenlg.lib.RenderResult
Returns the text.
getRenderOptions() - Method in class org.rosaenlg.lib.RenderResult
Returns the render options as JSON string.
getSrc() - Method in class org.rosaenlg.lib.JsonPackage
Returns the template src.
getTemplateId() - Method in class org.rosaenlg.lib.JsonPackage
Returns the template ID.
getTemplateId() - Method in class org.rosaenlg.lib.RosaeContext
Getter on template ID.
getTemplates() - Method in class org.rosaenlg.lib.JsonPackageSrc
Getter on the template content.

I

InitGraalContextException - Exception in org.rosaenlg.lib
Exception thrown when graal context initialization fails.
InitGraalContextException(Throwable) - Constructor for exception org.rosaenlg.lib.InitGraalContextException
Constructor.
InitRosaeContextException - Exception in org.rosaenlg.lib
Exception thrown when RosaeContext init fails.
InitRosaeContextException(Throwable) - Constructor for exception org.rosaenlg.lib.InitRosaeContextException
Constructor.

J

JsonPackage - Class in org.rosaenlg.lib
Will contain a deserialized JSON package of a template.
JsonPackage(String) - Constructor for class org.rosaenlg.lib.JsonPackage
Constructor using a JSON string.
JsonPackageSrc - Class in org.rosaenlg.lib
Will contain a deserialized JSON package of a template, "src" part.
JsonPackageSrc(JSONObject) - Constructor for class org.rosaenlg.lib.JsonPackageSrc
Constructor using a JSON object.

K

KEY_DEFAULTAMONG - Static variable in class org.rosaenlg.lib.RenderOptionsInput
JSON key for default among
KEY_DEFAULTSYNOMODE - Static variable in class org.rosaenlg.lib.RenderOptionsInput
JSON key for default synonym mode
KEY_FORCERANDOMSEED - Static variable in class org.rosaenlg.lib.RenderOptionsInput
JSON key for force random seed
KEY_LANGUAGE - Static variable in class org.rosaenlg.lib.RenderOptionsInput
JSON key for language
KEY_RENDERDEBUG - Static variable in class org.rosaenlg.lib.RenderOptionsInput
JSON key for render debug

L

language - Variable in class org.rosaenlg.lib.RenderOptionsInput
input language
LanguageNotDefinedException - Exception in org.rosaenlg.lib
Exception thrown when language is not set.
LanguageNotDefinedException(String) - Constructor for exception org.rosaenlg.lib.LanguageNotDefinedException
Constructor.
LoadLanguageException - Exception in org.rosaenlg.lib
Exception thrown when js language file cannot be loaded.
LoadLanguageException(String, Throwable) - Constructor for exception org.rosaenlg.lib.LoadLanguageException
Constructor.

M

main(String[]) - Static method in class org.rosaenlg.lib.Cli
Self test, no params.

O

org.rosaenlg.lib - package org.rosaenlg.lib
 

R

render(String) - Method in class org.rosaenlg.lib.RosaeContext
Render the template with input data.
renderDebug - Variable in class org.rosaenlg.lib.RenderOptionsInput
render debug
RenderingException - Exception in org.rosaenlg.lib
Exception thrown when rendering fails.
RenderingException(String, Throwable) - Constructor for exception org.rosaenlg.lib.RenderingException
Constructor.
RenderOptionsInput - Class in org.rosaenlg.lib
RosaeNLG runtime options helper.
RenderOptionsInput() - Constructor for class org.rosaenlg.lib.RenderOptionsInput
Create an empty object.
RenderOptionsInput(JSONObject) - Constructor for class org.rosaenlg.lib.RenderOptionsInput
Create from a JSON object by picking relevant parameters.
RenderOptionsOutput - Class in org.rosaenlg.lib
RosaeNLG runtime options in the output helper.
RenderOptionsOutput() - Constructor for class org.rosaenlg.lib.RenderOptionsOutput
Create an empty object.
RenderOptionsOutput(JSONObject) - Constructor for class org.rosaenlg.lib.RenderOptionsOutput
Create from a JSON object by picking relevant parameters.
RenderResult - Class in org.rosaenlg.lib
RosaeNLG render result holder.
RenderResult(JSONObject, String) - Constructor for class org.rosaenlg.lib.RenderResult
Constructor using a JSON string.
RosaeContext - Class in org.rosaenlg.lib
Wrapper around RosaeNLG.
RosaeContext(String) - Constructor for class org.rosaenlg.lib.RosaeContext
Constructor, based on a String containing all the information on a template.
RosaeContext(String, File, CompileInfo) - Constructor for class org.rosaenlg.lib.RosaeContext
Constructor, based on traditional Pug templates.
RosaeContext(String, CompileInfo) - Constructor for class org.rosaenlg.lib.RosaeContext
Constructor, for very simple templates.
RosaeContextConstructorException - Exception in org.rosaenlg.lib
Exception thrown when RosaeContext constructor fails.
RosaeContextConstructorException(Throwable) - Constructor for exception org.rosaenlg.lib.RosaeContextConstructorException
Constructor.

S

setAdjectives(List<String>) - Method in class org.rosaenlg.lib.CompileInfo
Set adjectives to embed.
setCompileDebug(Boolean) - Method in class org.rosaenlg.lib.CompileInfo
Activates compile debug Pug option.
setDefaultAmong(int) - Method in class org.rosaenlg.lib.RenderOptionsInput
sets the defaultAmong value.
setDefaultSynoMode(String) - Method in class org.rosaenlg.lib.RenderOptionsInput
sets defaultSynoMode param.
setEmbedResources(Boolean) - Method in class org.rosaenlg.lib.CompileInfo
Embed resources in the compiled function.
setForceRandomSeed(int) - Method in class org.rosaenlg.lib.RenderOptionsInput
sets forceRandomSeed param, which is the random seed.
setLanguage(String) - Method in class org.rosaenlg.lib.CompileInfo
Sets the language, for instance 'en_US' or 'fr_FR'.
setLanguage(String) - Method in class org.rosaenlg.lib.RenderOptionsInput
sets the language, for instance 'en_US' or 'fr_FR'.
setName(String) - Method in class org.rosaenlg.lib.CompileInfo
Sets the name of the output function.
setRandomSeed(int) - Method in class org.rosaenlg.lib.RenderOptionsOutput
sets random seed param.
setRenderDebug(boolean) - Method in class org.rosaenlg.lib.RenderOptionsInput
sets renderDebug value.
setVerbs(List<String>) - Method in class org.rosaenlg.lib.CompileInfo
Set verbs to embed.
setWords(List<String>) - Method in class org.rosaenlg.lib.CompileInfo
Set words to embed.

T

toJson() - Method in class org.rosaenlg.lib.CompileInfo
Serializes the object to a JSON String.
toJsonObj() - Method in class org.rosaenlg.lib.RenderOptionsInput
Serializes the object to a JSON object.
toJsonObj() - Method in class org.rosaenlg.lib.RenderOptionsOutput
Serializes the object to a JSON object.
toJsonString() - Method in class org.rosaenlg.lib.RenderOptionsInput
Serializes the object to a JSON String.

W

WrapperNotFoundException - Exception in org.rosaenlg.lib
Exception thrown when the wrapper js file cannot be loaded.
WrapperNotFoundException(String, Throwable) - Constructor for exception org.rosaenlg.lib.WrapperNotFoundException
Constructor.
A C D F G I J K L M O R S T W 
All Classes All Packages