public abstract class ResultBuilderFactory extends Object
Represents the base class of a result builder factory.
Modifier | Constructor and Description |
---|---|
protected |
ResultBuilderFactory(OutputFormat outputFormat)
Initializes a new instance of the
ResultBuilderFactory class. |
Modifier and Type | Method and Description |
---|---|
protected static Object |
createResultBuilder(ResultBuilderFactory resultBuilderFactory,
TextOptions options) |
protected abstract Object |
createResultBuilder(TextOptions options) |
OutputFormat |
getOutputFormat()
Gets the output format.
|
protected ResultBuilderFactory(OutputFormat outputFormat)
Initializes a new instance of the ResultBuilderFactory
class.
outputFormat
- The output format.public OutputFormat getOutputFormat()
Gets the output format.
protected abstract Object createResultBuilder(TextOptions options)
protected static Object createResultBuilder(ResultBuilderFactory resultBuilderFactory, TextOptions options)