Uses of Interface
com.rtfparserkit.parser.standard.IParserEvent
-
Packages that use IParserEvent Package Description com.rtfparserkit.parser.standard -
-
Uses of IParserEvent in com.rtfparserkit.parser.standard
Classes in com.rtfparserkit.parser.standard that implement IParserEvent Modifier and Type Class Description (package private) classBinaryBytesEventRepresents an event to be sent to the listener.(package private) classCommandEventRepresents an event to be sent to the listener.(package private) classDocumentEndEventEvent represents the end of a document.(package private) classDocumentStartEventEvent represents the start of a document.(package private) classGroupEndEventEvent represents the end of a group.(package private) classGroupStartEventEvent represents the start of a group.(package private) classStringEventRepresents an event to be sent to the listener.Fields in com.rtfparserkit.parser.standard declared as IParserEvent Modifier and Type Field Description private static IParserEventStandardRtfParser. DOCUMENT_ENDprivate static IParserEventStandardRtfParser. DOCUMENT_STARTprivate static IParserEventStandardRtfParser. GROUP_ENDprivate static IParserEventStandardRtfParser. GROUP_STARTFields in com.rtfparserkit.parser.standard with type parameters of type IParserEvent Modifier and Type Field Description private java.util.Deque<IParserEvent>DefaultEventHandler. eventsprivate java.util.List<IParserEvent>UprHandler. eventsMethods in com.rtfparserkit.parser.standard that return IParserEvent Modifier and Type Method Description IParserEventDefaultEventHandler. getLastEvent()Allows the caller to see the event at the end of the buffer.IParserEventIParserEventHandler. getLastEvent()Retrieve the last event seen by the handler.IParserEventUprHandler. getLastEvent()Retrieve the last event seen by the handler.private IParserEventDefaultEventHandler. mergeStringEvents(StringEvent event)Removes the string event from the end of the buffer, merges it with the string event we've just received, and adds the new event to the end of the buffer.Methods in com.rtfparserkit.parser.standard with parameters of type IParserEvent Modifier and Type Method Description voidDefaultEventHandler. handleEvent(IParserEvent event)If we've reached the end of the document, flush all queued events to the listener and pass on the document end event.voidIParserEventHandler. handleEvent(IParserEvent event)The parser informs the handler of an event.private voidStandardRtfParser. handleEvent(IParserEvent event)Pass an event to the event handler, pop the event handler stack if the current event handler has consumed all of the events it can.voidUprHandler. handleEvent(IParserEvent event)Buffers events until the end of the group containing the upr command is reached.private voidStandardRtfParser. processUpr(IParserEvent command)Process a upr command: consume all of the RTF commands relating to this and emit events representing the Unicode content.
-