/** * Returns an event producer. * * @param broadcaster the event broadcaster to use * @return the event producer */ public static BlockLevelEventProducer get(EventBroadcaster broadcaster) { return (BlockLevelEventProducer) broadcaster.getEventProducerFor(BlockLevelEventProducer.class); }
/** * Returns an event producer. * * @param broadcaster the event broadcaster to use * @return the event producer */ public static FOValidationEventProducer get(EventBroadcaster broadcaster) { return (FOValidationEventProducer) broadcaster.getEventProducerFor(FOValidationEventProducer.class); }