Class Emitter
java.lang.Object
org.snakeyaml.engine.v2.emitter.Emitter
- All Implemented Interfaces:
Emitable
Emitter expects events obeying the following grammar: stream ::= STREAM-START document* STREAM-END document ::= DOCUMENT-START node DOCUMENT-END node ::= SCALAR | sequence | mapping sequence ::= SEQUENCE-START node* SEQUENCE-END mapping ::= MAPPING-START (node node)* MAPPING-END
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intindent should not be more than 10 spacesstatic final intindent cannot be zero spaces -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MIN_INDENT
public static final int MIN_INDENTindent cannot be zero spaces- See Also:
-
MAX_INDENT
public static final int MAX_INDENTindent should not be more than 10 spaces- See Also:
-
-
Constructor Details
-
Emitter
Create- Parameters:
opts- - configuration optionsstream- - output stream
-
-
Method Details
-
emit
-