This event followed by the document's content and a DocumentEndEvent.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Map | |
| private final DumperOptions. |
| Access | Constructor and Description |
|---|---|
| public | DocumentStartEvent(Mark
- start startMark, Mark - end endMark, boolean - true when it is present in the document explicit, DumperOptions.- YAML version version,- tag directives tags)Create |
| Modifier and Type | Method and Description |
|---|---|
| public Event. | getEventId()
Implements abstract org. |
| public boolean | |
| public Map | Returns: Mapping of 'handles' to 'prefixes' (the handles include the '!' characters).Tag shorthands as defined by the |
| public DumperOptions. | Returns: nullif the document has no explicit %YAML directive.
Otherwise an array with two components, the major and minor part of the version (in
this order).YAML version the document conforms to. |
| explicit | back to summary |
|---|---|
| private final boolean explicit | |
| tags | back to summary |
|---|---|
| private final Map<String, String> tags | |
| version | back to summary |
|---|---|
| private final DumperOptions. | |
| DocumentStartEvent | back to summary |
|---|---|
| public DocumentStartEvent(Mark startMark, Mark endMark, boolean explicit, DumperOptions. Create | |
| getEventId | back to summary |
|---|---|
| public Event. Implements abstract org. Doc from org. Get the type (kind) if this Event | |
| getExplicit | back to summary |
|---|---|
| public boolean getExplicit() getter
| |
| getTags | back to summary |
|---|---|
| public Map Tag shorthands as defined by the | |
| getVersion | back to summary |
|---|---|
| public DumperOptions. YAML version the document conforms to.
| |