Class FOPEventListenerProxy

  • All Implemented Interfaces:
    java.util.EventListener, org.apache.fop.events.EventListener

    public class FOPEventListenerProxy
    extends java.lang.Object
    implements org.apache.fop.events.EventListener
    EventListener proxy that inspects all events and adjusts severity levels where necessary. For validation events, it reacts on each event based on the strict validation setting in the user agent. For layout events, it reduces the default severity level if FOP signals that it can recover from the event.
    • Constructor Summary

      Constructors 
      Constructor Description
      FOPEventListenerProxy​(org.apache.fop.events.EventListener delegate, FOUserAgent userAgent)
      Main constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void processEvent​(org.apache.fop.events.Event event)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FOPEventListenerProxy

        public FOPEventListenerProxy​(org.apache.fop.events.EventListener delegate,
                                     FOUserAgent userAgent)
        Main constructor.
        Parameters:
        delegate - the event listener to delegate events to
        userAgent - the FO user agent
    • Method Detail

      • processEvent

        public void processEvent​(org.apache.fop.events.Event event)
        Specified by:
        processEvent in interface org.apache.fop.events.EventListener