Top Description Fields Constructors Methods
org.snakeyaml.engine.v2.events

public Class ImplicitTuple

extends Object
Class Inheritance

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

Modifier and TypeField and Description
private final boolean
private final boolean

Constructor Summary

AccessConstructor and Description
public
ImplicitTuple(boolean plain, boolean nonplain)

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean

Returns:

true when tag may be omitted when the scalar is emitted in a non-plain style.
canOmitTagInNonPlainScalar
()

public boolean

Returns:

true when tag may be omitted when the scalar is emitted in a plain style.
canOmitTagInPlainScalar
()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

nonPlainback to summary
private final boolean nonPlain
plainback to summary
private final boolean plain

Constructor Detail

ImplicitTupleback to summary
public ImplicitTuple(boolean plain, boolean nonplain)

Method Detail

bothFalseback to summary
public boolean bothFalse()
canOmitTagInNonPlainScalarback to summary
public boolean canOmitTagInNonPlainScalar()
Returns:boolean

true when tag may be omitted when the scalar is emitted in a non-plain style.

canOmitTagInPlainScalarback to summary
public boolean canOmitTagInPlainScalar()
Returns:boolean

true when tag may be omitted when the scalar is emitted in a plain style.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override