Package com.itextpdf.kernel.utils
Class TaggedPdfReaderTool.MarkedContentEventListener
- java.lang.Object
-
- com.itextpdf.kernel.utils.TaggedPdfReaderTool.MarkedContentEventListener
-
- All Implemented Interfaces:
IEventListener
- Enclosing class:
- TaggedPdfReaderTool
private class TaggedPdfReaderTool.MarkedContentEventListener extends java.lang.Object implements IEventListener
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.Integer,ITextExtractionStrategy>
contentByMcid
-
Constructor Summary
Constructors Modifier Constructor Description private
MarkedContentEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
eventOccurred(IEventData data, EventType type)
Called when some event occurs during parsing a content stream.java.util.Map<java.lang.Integer,java.lang.String>
getMcidContent()
java.util.Set<EventType>
getSupportedEvents()
Provides the set of event types this listener supports.
-
-
-
Field Detail
-
contentByMcid
private java.util.Map<java.lang.Integer,ITextExtractionStrategy> contentByMcid
-
-
Method Detail
-
getMcidContent
public java.util.Map<java.lang.Integer,java.lang.String> getMcidContent()
-
eventOccurred
public void eventOccurred(IEventData data, EventType type)
Description copied from interface:IEventListener
Called when some event occurs during parsing a content stream.- Specified by:
eventOccurred
in interfaceIEventListener
- Parameters:
data
- Combines the data required for processing corresponding event type.type
- Event type.
-
getSupportedEvents
public java.util.Set<EventType> getSupportedEvents()
Description copied from interface:IEventListener
Provides the set of event types this listener supports. Returns null if all possible event types are supported.- Specified by:
getSupportedEvents
in interfaceIEventListener
- Returns:
- Set of event types supported by this listener or null if all possible event types are supported.
-
-