Package org.yaml.snakeyaml.events
Class Event
java.lang.Object
org.yaml.snakeyaml.events.Event
- Direct Known Subclasses:
CollectionEndEvent
,CommentEvent
,DocumentEndEvent
,DocumentStartEvent
,NodeEvent
,StreamEndEvent
,StreamStartEvent
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
startMark
-
endMark
-
-
Constructor Details
-
Event
-
-
Method Details
-
toString
-
getStartMark
-
getEndMark
-
getArguments
Generate human readable representation of the Event- Returns:
- representation fore humans
- See Also:
-
- "__repr__ for Event in PyYAML"
-
is
Check if the Event is of the provided kind- Parameters:
id
- - the Event.ID enum- Returns:
- true then this Event of the provided type
-
getEventId
Get the type (kind) if this Event- Returns:
- the ID of this Event
-
equals
-
hashCode
public int hashCode()
-