Package io.github.qishr.cascara.lang.yaml
Class YamlOptions
java.lang.Object
io.github.qishr.cascara.common.lang.LanguageOptions<io.github.qishr.cascara.lang.yaml.YamlOptions>
io.github.qishr.cascara.lang.yaml.YamlOptions
public class YamlOptions
extends LanguageOptions<YamlOptions>
Constructor Summary
| Constructor | Description |
|---|---|
| YamlOptions() |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public YamlOptions | setAllowUnicode(boolean val) | Sets whether unicode characters are allowed in scalars. |
| public YamlOptions | setExplicitStart(boolean val) | Sets whether to always output the '---' document start marker. |
| public YamlOptions | setExpandedStyle(boolean val) | |
| public YamlOptions | setStrict(boolean val) | |
| public boolean | isAllowUnicode() | |
| public boolean | isExplicitStart() | |
| public boolean | isExpandedStyle() | |
| public boolean | isStrict() |
Methods inherited from LanguageOptions
setIndentSize, getIndentSize
Method Details
setAllowUnicode
public YamlOptions setAllowUnicode(boolean val)
Sets whether unicode characters are allowed in scalars.
setExplicitStart
public YamlOptions setExplicitStart(boolean val)
Sets whether to always output the '---' document start marker.
setExpandedStyle
public YamlOptions setExpandedStyle(boolean val)
setStrict
public YamlOptions setStrict(boolean val)
isAllowUnicode
public boolean isAllowUnicode()
isExplicitStart
public boolean isExplicitStart()
isExpandedStyle
public boolean isExpandedStyle()
isStrict
public boolean isStrict()