Package org.rosaenlg.lib
Class RenderResult
- java.lang.Object
-
- org.rosaenlg.lib.RenderResult
-
public class RenderResult extends Object
RosaeNLG render result holder.- Author:
- Ludan Stoecklé [email protected]
-
-
Constructor Summary
Constructors Constructor Description RenderResult(org.json.JSONObject jsonOptions, String jsonString)
Constructor using a JSON string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOutputData()
Returns the output data as JSON string.String
getRenderedText()
Returns the text.String
getRenderOptions()
Returns the render options as JSON string.
-
-
-
Constructor Detail
-
RenderResult
public RenderResult(org.json.JSONObject jsonOptions, String jsonString)
Constructor using a JSON string.- Parameters:
jsonOptions
- the original JSON options, parsedjsonString
- the string containing the JSON package
-
-
Method Detail
-
getRenderedText
public String getRenderedText()
Returns the text.- Returns:
- text
-
getOutputData
public String getOutputData()
Returns the output data as JSON string.- Returns:
- outputData
-
getRenderOptions
public String getRenderOptions()
Returns the render options as JSON string.- Returns:
- renderOptions
-
-