public interface IYamlHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleBlockSequenceNodeStart(String dash,
int indent)
Called at the start of a block sequence element (e.g., after the DASH "- test")
|
void |
handleComment(String c,
boolean insideScalar)
Handle YAML comment
process differently based on if this is inside a current TextUnit
|
void |
handleDocumentEnd(String end)
Document end token.
|
void |
handleDocumentStart(String start)
Document start token.
|
void |
handleEnd()
Called once at the end of a document.
|
void |
handleKey(Key key)
Handle YAML keys, used in resname
|
void |
handleMapEnd(boolean flow) |
void |
handleMappingElementEnd()
Called after flow or mapping element is done
|
void |
handleMapStart(boolean flow)
Handle Yaml Maps (BLOCK and FLOW)
For contextual information.
|
void |
handleMarker(String marker)
Handle separator, i.e., "," or "-"
|
void |
handleOther(String other)
Other tokens like ANCHOR, TAG, ALIAS
|
void |
handleScalar(Scalar scalar)
Handle YAML value
|
void |
handleSequenceEnd(boolean flow) |
void |
handleSequenceStart(boolean flow)
Handle YAML sequences (BLOCK and FLOW)
For contextual information.
|
void |
handleStart()
Called once at the beginning of a new document.
|
void |
handleWhitespace(String whitespace,
boolean insideScalar)
Handle YAML whitespace
process differently based on if this is inside a current TextUnit
|
void handleStart()
void handleEnd()
void handleComment(String c, boolean insideScalar)
void handleKey(Key key)
void handleMarker(String marker)
void handleScalar(Scalar scalar)
void handleWhitespace(String whitespace, boolean insideScalar)
void handleMapStart(boolean flow)
void handleMapEnd(boolean flow)
void handleSequenceStart(boolean flow)
void handleSequenceEnd(boolean flow)
void handleOther(String other)
other - void handleDocumentStart(String start)
start - void handleDocumentEnd(String end)
end - void handleMappingElementEnd()
void handleBlockSequenceNodeStart(String dash, int indent)
Copyright © 2022. All rights reserved.