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 thePdfCanvasProcessor
as various events occur (seeEventType
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
eventOccurred(IEventData data, EventType type)
Called when some event occurs during parsing a content stream.java.util.Set<EventType>
getSupportedEvents()
Provides the set of event types this listener supports.
-
-
-
Method Detail
-
eventOccurred
void eventOccurred(IEventData data, EventType type)
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
java.util.Set<EventType> 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.
-
-