Uses of Class
org.snakeyaml.engine.v2.events.Event
-
Packages that use Event Package Description org.snakeyaml.engine.v2.api.lowlevel org.snakeyaml.engine.v2.comments org.snakeyaml.engine.v2.emitter org.snakeyaml.engine.v2.events org.snakeyaml.engine.v2.parser -
-
Uses of Event in org.snakeyaml.engine.v2.api.lowlevel
Fields in org.snakeyaml.engine.v2.api.lowlevel with type parameters of type Event Modifier and Type Field Description private java.util.List<Event>EmitableEvents. eventsMethods in org.snakeyaml.engine.v2.api.lowlevel that return types with arguments of type Event Modifier and Type Method Description java.util.List<Event>EmitableEvents. getEvents()java.lang.Iterable<Event>Parse. parseInputStream(java.io.InputStream yaml)Parse a YAML stream and produce parsing events.java.lang.Iterable<Event>Parse. parseReader(java.io.Reader yaml)Parse a YAML stream and produce parsing events.java.lang.Iterable<Event>Parse. parseString(java.lang.String yaml)Parse a YAML stream and produce parsing events.java.util.List<Event>Serialize. serializeAll(java.util.List<Node> nodes)SerializeNodes and produce events.java.util.List<Event>Serialize. serializeOne(Node node)Serialize aNodeand produce events.Methods in org.snakeyaml.engine.v2.api.lowlevel with parameters of type Event Modifier and Type Method Description voidEmitableEvents. emit(Event event)Method parameters in org.snakeyaml.engine.v2.api.lowlevel with type arguments of type Event Modifier and Type Method Description java.lang.StringPresent. emitToString(java.util.Iterator<Event> events)Serialise the provided Events -
Uses of Event in org.snakeyaml.engine.v2.comments
Fields in org.snakeyaml.engine.v2.comments with type parameters of type Event Modifier and Type Field Description private java.util.Queue<Event>CommentEventsCollector. eventSourceMethods in org.snakeyaml.engine.v2.comments that return Event Modifier and Type Method Description EventCommentEventsCollector. collectEvents(Event event)Collect all events of the expected type (set during construction) starting with event provided as an argument and continuing with the top event on the event source.EventCommentEventsCollector. collectEventsAndPoll(Event event)Collect all events of the expected type (set during construction) starting with event provided as an argument and continuing with the top event on the event source.Methods in org.snakeyaml.engine.v2.comments with parameters of type Event Modifier and Type Method Description EventCommentEventsCollector. collectEvents(Event event)Collect all events of the expected type (set during construction) starting with event provided as an argument and continuing with the top event on the event source.EventCommentEventsCollector. collectEventsAndPoll(Event event)Collect all events of the expected type (set during construction) starting with event provided as an argument and continuing with the top event on the event source.private booleanCommentEventsCollector. isEventExpected(Event event)Determine if the event is a comment of one of the expected types set during construction.Constructor parameters in org.snakeyaml.engine.v2.comments with type arguments of type Event Constructor Description CommentEventsCollector(java.util.Queue<Event> eventSource, CommentType... expectedCommentTypes)Constructor used to collect events emitted by the Serializer. -
Uses of Event in org.snakeyaml.engine.v2.emitter
Fields in org.snakeyaml.engine.v2.emitter declared as Event Modifier and Type Field Description private EventEmitter. eventFields in org.snakeyaml.engine.v2.emitter with type parameters of type Event Modifier and Type Field Description private java.util.Queue<Event>Emitter. eventsMethods in org.snakeyaml.engine.v2.emitter with parameters of type Event Modifier and Type Method Description voidEmitable. emit(Event event)Serialise event to bytesvoidEmitter. emit(Event event)private booleanEmitter. isFoldedOrLiteral(Event event)Method parameters in org.snakeyaml.engine.v2.emitter with type arguments of type Event Modifier and Type Method Description private booleanEmitter. needEvents(java.util.Iterator<Event> iter, int count) -
Uses of Event in org.snakeyaml.engine.v2.events
Subclasses of Event in org.snakeyaml.engine.v2.events Modifier and Type Class Description classAliasEventMarks the inclusion of a previously anchored node.classCollectionEndEventBase class for the end events of the collection nodes.classCollectionStartEventBase class for the start events of the collection nodes.classCommentEventMarks a comment block value.classDocumentEndEventMarks the end of a document.classDocumentStartEventMarks the beginning of a document.classMappingEndEventMarks the end of a mapping node.classMappingStartEventMarks the beginning of a mapping node.classNodeEventBase class for all events that mark the beginning of a node.classScalarEventMarks a scalar value.classSequenceEndEventMarks the end of a sequence.classSequenceStartEventMarks the beginning of a sequence node.classStreamEndEventMarks the end of a stream that might have contained multiple documents.classStreamStartEventMarks the start of a stream that might contain multiple documents. -
Uses of Event in org.snakeyaml.engine.v2.parser
Fields in org.snakeyaml.engine.v2.parser with type parameters of type Event Modifier and Type Field Description private java.util.Optional<Event>ParserImpl. currentEventMethods in org.snakeyaml.engine.v2.parser that return Event Modifier and Type Method Description EventParser. next()Returns the next event.EventParserImpl. next()Consume the event (get the next event and removed it).private EventParserImpl. parseBlockNodeOrIndentlessSequence()private EventParserImpl. parseFlowNode()private EventParserImpl. parseNode(boolean block, boolean indentlessSequence)EventParser. peekEvent()Return the next event, but do not delete it from the stream.EventParserImpl. peekEvent()Get the next event (and keep it).private EventParserImpl. processEmptyScalar(java.util.Optional<Mark> mark)block_mapping ::= BLOCK-MAPPING_START ((KEY block_node_or_indentless_sequence?)? (VALUE block_node_or_indentless_sequence?)?)* BLOCK-ENDEventParserImpl.ParseBlockMappingFirstKey. produce()EventParserImpl.ParseBlockMappingKey. produce()EventParserImpl.ParseBlockMappingValue. produce()EventParserImpl.ParseBlockMappingValueComment. produce()EventParserImpl.ParseBlockMappingValueCommentList. produce()EventParserImpl.ParseBlockNode. produce()EventParserImpl.ParseBlockSequenceEntryKey. produce()EventParserImpl.ParseBlockSequenceEntryValue. produce()EventParserImpl.ParseBlockSequenceFirstEntry. produce()EventParserImpl.ParseDocumentContent. produce()EventParserImpl.ParseDocumentEnd. produce()EventParserImpl.ParseDocumentStart. produce()EventParserImpl.ParseFlowEndComment. produce()EventParserImpl.ParseFlowMappingEmptyValue. produce()EventParserImpl.ParseFlowMappingFirstKey. produce()EventParserImpl.ParseFlowMappingKey. produce()EventParserImpl.ParseFlowMappingValue. produce()EventParserImpl.ParseFlowSequenceEntry. produce()EventParserImpl.ParseFlowSequenceEntryMappingEnd. produce()EventParserImpl.ParseFlowSequenceEntryMappingKey. produce()EventParserImpl.ParseFlowSequenceEntryMappingValue. produce()EventParserImpl.ParseFlowSequenceFirstEntry. produce()EventParserImpl.ParseImplicitDocumentStart. produce()EventParserImpl.ParseIndentlessSequenceEntryKey. produce()EventParserImpl.ParseIndentlessSequenceEntryValue. produce()EventParserImpl.ParseStreamStart. produce()EventProduction. produce()Produce parsed event
-