Class DocumentEndEvent

java.lang.Object
org.yaml.snakeyaml.events.Event
org.yaml.snakeyaml.events.DocumentEndEvent

public final class DocumentEndEvent extends Event
Marks the end of a document.

This event follows the document's content.

  • Field Details

    • explicit

      private final boolean explicit
  • Constructor Details

    • DocumentEndEvent

      public DocumentEndEvent(Mark startMark, Mark endMark, boolean explicit)
  • Method Details

    • getExplicit

      public boolean getExplicit()
    • getEventId

      public Event.ID getEventId()
      Description copied from class: Event
      Get the type (kind) if this Event
      Specified by:
      getEventId in class Event
      Returns:
      the ID of this Event