Package org.snakeyaml.engine.v2.events
Class ImplicitTuple
java.lang.Object
org.snakeyaml.engine.v2.events.ImplicitTuple
The implicit flag of a scalar event is a pair of boolean values that indicate if the tag may be
omitted when the scalar is emitted in a plain and non-plain style correspondingly.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
plain
private final boolean plain -
nonPlain
private final boolean nonPlain
-
-
Constructor Details
-
ImplicitTuple
public ImplicitTuple(boolean plain, boolean nonplain)
-
-
Method Details
-
canOmitTagInPlainScalar
public boolean canOmitTagInPlainScalar()- Returns:
- true when tag may be omitted when the scalar is emitted in a plain style.
-
canOmitTagInNonPlainScalar
public boolean canOmitTagInNonPlainScalar()- Returns:
- true when tag may be omitted when the scalar is emitted in a non-plain style.
-
bothFalse
public boolean bothFalse() -
toString
-