Class YamlWritingMechanism
java.lang.Object
org.keycloak.models.map.storage.file.yaml.YamlWritingMechanism
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- WritingMechanism
Mechanism which produces 
Events for SnakeYaml v2 Emitter.- Author:
- vramik
- 
Constructor SummaryConstructorsConstructorDescriptionYamlWritingMechanism(Consumer<org.snakeyaml.engine.v2.events.Event> consumer) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()writeMapping(Runnable task) Writes a mapping, items of which are written using this mechanism in thetask.writeObject(Object value) Writes a value of a primitive type (null, boolean, number, String).Writes a mapping key/value pair, items of which are written using this mechanism in thetask.writeSequence(Runnable task) Writes a sequence, items of which are written using this mechanism in thetask.
- 
Constructor Details- 
YamlWritingMechanism
 
- 
- 
Method Details- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
 
- 
writeMappingDescription copied from interface:WritingMechanismWrites a mapping, items of which are written using this mechanism in thetask.- Specified by:
- writeMappingin interface- WritingMechanism
- Returns:
 
- 
writeSequenceDescription copied from interface:WritingMechanismWrites a sequence, items of which are written using this mechanism in thetask.- Specified by:
- writeSequencein interface- WritingMechanism
- Returns:
 
- 
writePairDescription copied from interface:WritingMechanismWrites a mapping key/value pair, items of which are written using this mechanism in thetask.- Specified by:
- writePairin interface- WritingMechanism
- Returns:
 
- 
writeObjectDescription copied from interface:WritingMechanismWrites a value of a primitive type (null, boolean, number, String).- Specified by:
- writeObjectin interface- WritingMechanism
- Returns:
 
 
-