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)
      Create
      Parameters:
      startMark - - start
      endMark - - end
      explicit - - true when it is present in the document, false for implicitly added
  • Method Details

    • getExplicit

      public boolean getExplicit()
      getter
      Returns:
      true when document end is present in the document
    • getEventId

      public Event.ID getEventId()
      getter
      Specified by:
      getEventId in class Event
      Returns:
      its identity