diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2010-04-09 16:34:29 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2010-04-09 16:34:29 +0000 |
commit | a5a17890ada3d6f569131f82466fa3791330349a (patch) | |
tree | df56e7a1b1c7ff093be88be8c4ab5144ad5b930a /src/documentation | |
parent | 8f6b532710381d795a1cb84d0a2af7b447db74f4 (diff) | |
download | xmlgraphics-fop-a5a17890ada3d6f569131f82466fa3791330349a.tar.gz xmlgraphics-fop-a5a17890ada3d6f569131f82466fa3791330349a.zip |
Moved ResourceEventProducer to org.apache.fop
Renamed event model used by FOPTestEventModelFactory to "event-model.xml"
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932497 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation')
-rw-r--r-- | src/documentation/content/xdocs/trunk/events.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/documentation/content/xdocs/trunk/events.xml b/src/documentation/content/xdocs/trunk/events.xml index dc08b0099..017775f03 100644 --- a/src/documentation/content/xdocs/trunk/events.xml +++ b/src/documentation/content/xdocs/trunk/events.xml @@ -157,7 +157,7 @@ foUserAgent.getEventBroadcaster().addEventListener(new SysOutEventListener());]] <source><![CDATA[public class MyEventListener implements EventListener { public void processEvent(Event event) { - if ("org.apache.fop.events.ResourceEventProducer".equals( + if ("org.apache.fop.ResourceEventProducer".equals( event.getEventGroupID())) { event.setSeverity(EventSeverity.FATAL); } else { @@ -178,7 +178,7 @@ foUserAgent.getEventBroadcaster().addEventListener(new SysOutEventListener());]] <source><![CDATA[public class MyEventListener implements EventListener { public void processEvent(Event event) { - if ("org.apache.fop.events.ResourceEventProducer.imageNotFound" + if ("org.apache.fop.ResourceEventProducer.imageNotFound" .equals(event.getEventID())) { //Get the FileNotFoundException that's part of the event's parameters |