diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2010-04-09 17:05:34 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2010-04-09 17:05:34 +0000 |
commit | 5ca051ca1208e83a56014545e94bc1b5d4f1f05d (patch) | |
tree | 473c3b5c4e246405338fbfea0161d0456f8380ba /test | |
parent | 9a00e131fd3f2f97ba9cc80f4b65cb6da6b368b4 (diff) | |
download | xmlgraphics-fop-5ca051ca1208e83a56014545e94bc1b5d4f1f05d.tar.gz xmlgraphics-fop-5ca051ca1208e83a56014545e94bc1b5d4f1f05d.zip |
Now that the creation of event-model.xml has been standardised, the EventModelFactory mechanism is no longer needed. Removed all the factory classes.
Registration through META-INF/services also is no longer necessary.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932510 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/java/META-INF/services/org.apache.fop.events.model.EventModelFactory | 1 | ||||
-rw-r--r-- | test/java/org/apache/fop/events/FOPTestEventModelFactory.java | 37 |
2 files changed, 0 insertions, 38 deletions
diff --git a/test/java/META-INF/services/org.apache.fop.events.model.EventModelFactory b/test/java/META-INF/services/org.apache.fop.events.model.EventModelFactory deleted file mode 100644 index a40d5658a..000000000 --- a/test/java/META-INF/services/org.apache.fop.events.model.EventModelFactory +++ /dev/null @@ -1 +0,0 @@ -org.apache.fop.events.FOPTestEventModelFactory
\ No newline at end of file diff --git a/test/java/org/apache/fop/events/FOPTestEventModelFactory.java b/test/java/org/apache/fop/events/FOPTestEventModelFactory.java deleted file mode 100644 index 244cd5fec..000000000 --- a/test/java/org/apache/fop/events/FOPTestEventModelFactory.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* $Id$ */ - -package org.apache.fop.events; - -import org.apache.fop.events.model.AbstractEventModelFactory; -import org.apache.fop.events.model.EventModel; - -/** - * Factory for FOP's test event model. - */ -public class FOPTestEventModelFactory extends AbstractEventModelFactory { - - private static final String EVENT_MODEL_FILENAME = "event-model.xml"; - - /** {@inheritDoc} */ - public EventModel createEventModel() { - return loadModel(getClass(), EVENT_MODEL_FILENAME); - } - -} |