/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
* (c) 2001 - 2013 OpenPlans
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.test;
import java.util.Collections;
import java.util.Map;
import java.util.TreeMap;
/**
* Mock data for {@link Gsml32BoreholeWfsTest}.
*
* @author Rini Angreani (CSIRO Earth Science and Resource Engineering)
*/
public class Gsml32BoreholeMockData extends AbstractAppSchemaMockData {
public static final String GSMLBH_PREFIX = "gsmlbh";
protected static final Map<String, String> GSML32_NAMESPACES = Collections
.unmodifiableMap(new TreeMap<String, String>() {
/** serialVersionUID */
private static final long serialVersionUID = -4796243306761831446L;
{
put("cgu", "urn:cgi:xmlns:CGI:Utilities:3.0.0");
put("gco", "http://www.isotc211.org/2005/gco");
put("gmd", "http://www.isotc211.org/2005/gmd");
put("gml", "http://www.opengis.net/gml/3.2");
put("gsml", "http://xmlns.geosciml.org/GeoSciML-Core/3.2");
put("gsmlbh", "http://xmlns.geosciml.org/Borehole/3.2");
put("sa", "http://www.opengis.net/sampling/2.0");
put("sams", "http://www.opengis.net/samplingSpatial/2.0");
put("spec", "http://www.opengis.net/samplingSpecimen/2.0");
put("swe", "http://www.opengis.net/swe/2.0");
put("wfs", "http://www.opengis.net/wfs/2.0");
put("xlink", "http://www.w3.org/1999/xlink");
}
});
public Gsml32BoreholeMockData() {
super(GSML32_NAMESPACES);
}
/**
* @see org.geoserver.test.AbstractAppSchemaMockData#addContent()
*/
@Override
public void addContent() {
addFeatureType(GSMLBH_PREFIX, "Borehole", "Gsml32Borehole.xml",
"Gsml32Borehole.properties");
}
}