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.wfsv.kvp;
06:
07: import net.opengis.wfsv.WfsvFactory;
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 Andrea Aime, TOPP
18: *
19: */
20: public class WFSVKvpRequestReader 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 WFSVKvpRequestReader(Class requestBean) {
28: super (requestBean, WfsvFactory.eINSTANCE);
29: }
30:
31: WfsvFactory getWfsFactory() {
32: return (WfsvFactory) factory;
33: }
34: }
|