Class ImplicitTuple

java.lang.Object
org.yaml.snakeyaml.events.ImplicitTuple

public class ImplicitTuple
extends java.lang.Object
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.
See Also:
Events
  • Constructor Summary

    Constructors 
    Constructor Description
    ImplicitTuple​(boolean plain, boolean nonplain)  
  • Method Summary

    Modifier and Type Method Description
    boolean bothFalse()  
    boolean canOmitTagInNonPlainScalar()  
    boolean canOmitTagInPlainScalar()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object