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 -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Event
Create- Parameters:
startMark
- - startendMark
- - end
-
-
Method Details
-
toString
-
getStartMark
getter- Returns:
- start
-
getEndMark
getter- Returns:
- end
-
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()
-