public QName getQName() { return eType.getName(); }
@Override public URI getSchema() { String namespaceURI = eType.getName().getNamespaceURI(); try { return XMLConstants.NULL_NS_URI.equals(namespaceURI) ? null : new URI(namespaceURI); } catch (URISyntaxException e) { return null; } }
@Override public String getName() { return config.localTypeName(eType.getName()); }
@Override public void setCapabilities(WFSGetCapabilities capabilities) { net.opengis.wfs20.WFSCapabilitiesType caps = (WFSCapabilitiesType) capabilities.getParsedCapabilities(); this.capabilities = caps; typeInfos.clear(); FeatureTypeListType featureTypeList = this.capabilities.getFeatureTypeList(); @SuppressWarnings("unchecked") List<FeatureTypeType> featureTypes = featureTypeList.getFeatureType(); for (FeatureTypeType typeInfo : featureTypes) { QName name = typeInfo.getName(); typeInfos.put(name, typeInfo); } }
public QName getQName() { return eType.getName(); }
@Override public URI getSchema() { String namespaceURI = eType.getName().getNamespaceURI(); try { return XMLConstants.NULL_NS_URI.equals(namespaceURI) ? null : new URI(namespaceURI); } catch (URISyntaxException e) { return null; } }
@Override public String getName() { return config.localTypeName(eType.getName()); }
@Override public void setCapabilities(WFSGetCapabilities capabilities) { net.opengis.wfs20.WFSCapabilitiesType caps = (WFSCapabilitiesType) capabilities.getParsedCapabilities(); this.capabilities = caps; typeInfos.clear(); FeatureTypeListType featureTypeList = this.capabilities.getFeatureTypeList(); @SuppressWarnings("unchecked") List<FeatureTypeType> featureTypes = featureTypeList.getFeatureType(); for (FeatureTypeType typeInfo : featureTypes) { QName name = typeInfo.getName(); typeInfos.put(name, typeInfo); } }