MapServerStrategy extends DefaultWFSStrategy { @Override public String getPrefixedTypeName(QName typeName) { return ("".equals(typeName.getPrefix()) || "wfs" .equals(typeName.getPrefix())) ? typeName.getLocalPart() : typeName .getPrefix() + ":" + typeName.getLocalPart(); }  @Override String getPrefixedTypeName(QName typeName); @Override Map<String, String> getNamespaceURIMappings(); @Override boolean canIgnoreMissingElementDeclaration(); @Override Map<QName, Class<?>> getFieldTypeMappings();  }
@Test public void testPrefixedTypeName() { assertEquals("testFeature", strategy.getPrefixedTypeName(new QName("", "testFeature", ""))); assertEquals("testFeature", strategy.getPrefixedTypeName(new QName("http: assertEquals("test:testFeature", strategy.getPrefixedTypeName(new QName("http: assertNotNull(DataTestSupport.wfs.getFeatureTypeName(MAPSRV_GOVUNITCE.FEATURETYPENAME)); }