Package io.github.qishr.cascara.common.lang
Class LanguageOptions
java.lang.Object
io.github.qishr.cascara.common.lang.LanguageOptions
Direct Known Subtypes:
JsonOptions, XmlOptions, YamlOptions
public abstract class LanguageOptions
Base class for all language-specific configuration.T is the specific implementation type for fluent chaining.
Field Summary
| Modifier and Type | Field | Description |
|---|---|---|
| protected int | indentSize |
Constructor Summary
| Constructor | Description |
|---|---|
| LanguageOptions() |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public T | setIndentSize(int size) | Sets the number of spaces/tabs used for indentation. |
| public int | getIndentSize() |
Field Details
indentSize
protected int indentSize
Method Details
setIndentSize
public T setIndentSize(int size)
Sets the number of spaces/tabs used for indentation.
getIndentSize
public int getIndentSize()