public class AliasResolvingEventHandler extends Object implements EventHandler
Constructor and Description |
---|
AliasResolvingEventHandler(YamlEventStreamHandler eventStreamParser,
YamlToSaxHandler contentHandler,
boolean addReferenceAttributes) |
Modifier and Type | Method and Description |
---|---|
void |
addAliasEvent(org.yaml.snakeyaml.events.AliasEvent event,
String name) |
void |
addNameEvent(org.yaml.snakeyaml.events.ScalarEvent event,
String name) |
void |
addValueEvent(org.yaml.snakeyaml.events.ScalarEvent event,
String name,
String value) |
void |
endStructureEvent(org.yaml.snakeyaml.events.Event event,
String name) |
void |
startStructureEvent(org.yaml.snakeyaml.events.CollectionStartEvent event,
String name) |
public AliasResolvingEventHandler(YamlEventStreamHandler eventStreamParser, YamlToSaxHandler contentHandler, boolean addReferenceAttributes)
public void addValueEvent(org.yaml.snakeyaml.events.ScalarEvent event, String name, String value) throws SAXException
addValueEvent
in interface EventHandler
SAXException
public void startStructureEvent(org.yaml.snakeyaml.events.CollectionStartEvent event, String name) throws SAXException
startStructureEvent
in interface EventHandler
SAXException
public void endStructureEvent(org.yaml.snakeyaml.events.Event event, String name) throws SAXException
endStructureEvent
in interface EventHandler
SAXException
public void addAliasEvent(org.yaml.snakeyaml.events.AliasEvent event, String name) throws SAXException
addAliasEvent
in interface EventHandler
SAXException
public void addNameEvent(org.yaml.snakeyaml.events.ScalarEvent event, String name) throws SAXException
addNameEvent
in interface EventHandler
SAXException
Copyright © 2020. All rights reserved.