/* (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 org.geoserver.data.test.MockData;
/**
* Mock data for testing GML32
*
* Inspired by {@link MockData}.
*
* @author Victor Tey, CSIRO Exploration and Mining
*/
public class FeatureGML32MockData extends AbstractAppSchemaMockData {
public FeatureGML32MockData() {
super(GML32_NAMESPACES);
}
/**
* Prefix for ex namespace.
*/
protected static final String EX_PREFIX = "ex";
/**
* URI for ex namespace.
*/
protected static final String EX_URI = "http://example.com";
/**
* @see org.geoserver.test.AbstractAppSchemaMockData#addContent()
*/
@Override
public void addContent() {
putNamespace(EX_PREFIX, EX_URI);
addFeatureType(GSML_PREFIX, "MappedFeature", "MappedFeature32Property.xml",
"MappedFeaturePropertyfile.properties");
addFeatureType(GSML_PREFIX, "GeologicUnit", "GeologicUnit32.xml", "GeologicUnit.properties");
}
}