Emitable to present the
Events into the output stream
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final boolean | |
| private final Emitable | |
| private final MergeUtils | |
| private final Set | |
| private final Set | |
| private final DumpSettings |
| Access | Constructor and Description |
|---|---|
| public | Serializer(DumpSettings
- dump configuration settings, Emitable - destination for the event stream emitable)Create Serializer |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public void | |
| private void | |
| public void | |
| private void |
| anchors | back to summary |
|---|---|
| private final Map<Node, Anchor> anchors | |
| dereferenceAliases | back to summary |
|---|---|
| private final boolean dereferenceAliases | |
| emitable | back to summary |
|---|---|
| private final Emitable emitable | |
| mergeUtils | back to summary |
|---|---|
| private final MergeUtils mergeUtils | |
| recursive | back to summary |
|---|---|
| private final Set<Node> recursive | |
| serializedNodes | back to summary |
|---|---|
| private final Set<Node> serializedNodes | |
| settings | back to summary |
|---|---|
| private final DumpSettings settings | |
| Serializer | back to summary |
|---|---|
| public Serializer(DumpSettings settings, Emitable emitable) Create Serializer
| |
| anchorNode | back to summary |
|---|---|
| private void anchorNode(Node node) | |
| emitStreamEnd | back to summary |
|---|---|
| public void emitStreamEnd() Emit | |
| emitStreamStart | back to summary |
|---|---|
| public void emitStreamStart() Emit | |
| serializeComments | back to summary |
|---|---|
| private void serializeComments(List<CommentLine> comments) | |
| serializeDocument | back to summary |
|---|---|
| public void serializeDocument(Node node) Serialize document
| |
| serializeNode | back to summary |
|---|---|
| private void serializeNode(Node node) Recursive serialization of a
| |