Package io.github.qishr.cascara.lang.yaml.processor
Class YamlConverter
java.lang.Object
io.github.qishr.cascara.lang.yaml.processor.AbstractYamlProcessor<io.github.qishr.cascara.lang.yaml.processor.YamlConverter>
io.github.qishr.cascara.lang.yaml.processor.YamlConverter
All Implemented Interfaces:
AstConverter<YamlNode>
public class YamlConverter
extends AbstractYamlProcessor<YamlConverter>
Constructor Summary
| Constructor | Description |
|---|---|
| YamlConverter() |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| protected YamlConverter | self() | |
| public String | toText(AstNode ast) | |
| public YamlNode | fromAst(AstNode ast) | |
| public ReferenceNode | toPlainAst(YamlNode yaml) |
Methods inherited from AbstractYamlProcessor
setReporter, getOptions, getContentType, getServiceProperties, getVersion, getReporter, setOptions
Method Details
self
protected YamlConverter self()
Overrides:
toText
public String toText(AstNode ast)
Specified By:
fromAst
@io.github.qishr.cascara.common.lang.annotation.Nullable
public YamlNode fromAst(AstNode ast)
Specified By:
toPlainAst
@io.github.qishr.cascara.common.lang.annotation.Nullable
public ReferenceNode toPlainAst(YamlNode yaml)