org.yaml.snakeyaml.events

## Class Event

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

Direct Known Subclasses:
  CollectionEndEvent, DocumentEndEvent, DocumentStartEvent, NodeEvent, StreamEndEvent, StreamStartEvent

    public abstract class Event
    extends java.lang.Object

Basic unit of output from a `Parser` or input of a `Emitter`.

### Nested Class Summary

Nested Classes
`static class` `Event.ID`

### Constructor Summary

Constructors
Constructor and Description
`Event(Mark startMark, Mark endMark)`

### Method Summary

Methods
`boolean` `equals(java.lang.Object obj)`
`protected java.lang.String` `getArguments()`
`Mark` `getEndMark()`
`Mark` `getStartMark()`
`int` `hashCode()`
`abstract boolean` `is(Event.ID id)`
`java.lang.String` `toString()`

### Methods inherited from class java.lang.Object

`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

### Constructor Detail

#### Event

    public Event(Mark startMark,
         Mark endMark)

### Method Detail

#### toString

    public java.lang.String toString()

Overrides:
  `toString` in class `java.lang.Object`

#### getStartMark

    public Mark getStartMark()

#### getEndMark

    public Mark getEndMark()

#### getArguments

    protected java.lang.String getArguments()

See Also:
  "__repr__ for Event in PyYAML"

#### is

    public abstract boolean is(Event.ID id)

#### equals

    public boolean equals(java.lang.Object obj)

Overrides:
  `equals` in class `java.lang.Object`

#### hashCode

    public int hashCode()

Overrides:
  `hashCode` in class `java.lang.Object`