public final class DocumentStartEvent extends Event
This event followed by the document's content and a DocumentEndEvent
.
Constructor and Description |
---|
DocumentStartEvent(boolean explicit,
Optional<SpecVersion> specVersion,
Map<String,String> tags) |
DocumentStartEvent(boolean explicit,
Optional<SpecVersion> specVersion,
Map<String,String> tags,
Optional<Mark> startMark,
Optional<Mark> endMark) |
Modifier and Type | Method and Description |
---|---|
Event.ID |
getEventId() |
Optional<SpecVersion> |
getSpecVersion() |
Map<String,String> |
getTags()
Tag shorthands as defined by the
%TAG directive. |
boolean |
isExplicit() |
String |
toString() |
equals, getEndMark, getStartMark, hashCode, isEvent
public DocumentStartEvent(boolean explicit, Optional<SpecVersion> specVersion, Map<String,String> tags, Optional<Mark> startMark, Optional<Mark> endMark)
public DocumentStartEvent(boolean explicit, Optional<SpecVersion> specVersion, Map<String,String> tags)
public boolean isExplicit()
public Optional<SpecVersion> getSpecVersion()
public Map<String,String> getTags()
%TAG
directive.public Event.ID getEventId()
getEventId
in class Event
Copyright © 2019 Hazelcast, Inc.. All rights reserved.