Interface IEventListener

    • 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.