Interface IEventListener
- All Known Subinterfaces:
ILocationExtractionStrategy
,ITextExtractionStrategy
- All Known Implementing Classes:
FilteredEventListener
,FilteredTextEventListener
,GlyphEventListener
,GlyphTextEventListener
,LocationTextExtractionStrategy
,RegexBasedLocationExtractionStrategy
,SimpleTextExtractionStrategy
,TaggedPdfReaderTool.MarkedContentEventListener
,TextMarginFinder
public interface IEventListener
A callback interface that receives notifications from the
PdfCanvasProcessor
as various events occur (see EventType
).-
Method Summary
Modifier and TypeMethodDescriptionvoid
eventOccurred
(IEventData data, EventType type) Called when some event occurs during parsing a content stream.Provides the set of event types this listener supports.
-
Method Details
-
eventOccurred
Called when some event occurs during parsing a content stream.- Parameters:
data
- Combines the data required for processing corresponding event type.type
- Event type.
-
getSupportedEvents
Provides the set of event types this listener supports. Returns null if all possible event types are supported.- Returns:
- Set of event types supported by this listener or null if all possible event types are supported.
-