01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, available at the root
03: * application directory.
04: */
05: package org.geoserver.wfs.kvp;
06:
07: import net.opengis.wfs.WfsFactory;
08:
09: import org.geoserver.ows.kvp.EMFKvpRequestReader;
10:
11: /**
12: * Web Feature Service Key Value Pair Request reader.
13: * <p>
14: * This request reader makes use of the Eclipse Modelling Framework
15: * reflection api.
16: * </p>
17: * @author Justin Deoliveira, The Open Planning Project
18: *
19: */
20: public class WFSKvpRequestReader extends EMFKvpRequestReader {
21:
22: /**
23: * Creates the Wfs Kvp Request reader.
24: *
25: * @param requestBean The request class, which must be an emf class.
26: */
27: public WFSKvpRequestReader(Class requestBean) {
28: super (requestBean, WfsFactory.eINSTANCE);
29: }
30:
31: protected WfsFactory getWfsFactory() {
32: return (WfsFactory) factory;
33: }
34: }
|