289 |
.getAttributeValue("namespace")); |
.getAttributeValue("namespace")); |
290 |
final String localname = String.valueOf(element |
final String localname = String.valueOf(element |
291 |
.getAttributeValue("localname")); |
.getAttributeValue("localname")); |
292 |
final Name aName = new NameImpl(namespace, localname); |
final NameImpl aName = new NameImpl(namespace, localname); |
293 |
final Boolean visible = Boolean.valueOf(element |
final Boolean visible = Boolean.valueOf(element |
294 |
.getAttributeValue("visible")); |
.getAttributeValue("visible")); |
295 |
final String unit = element.getAttributeValue("unit"); |
final String unit = element.getAttributeValue("unit"); |
1265 |
AttributeDescriptor foundDescr = schema |
AttributeDescriptor foundDescr = schema |
1266 |
.getDescriptor(atm.getName()); |
.getDescriptor(atm.getName()); |
1267 |
if (foundDescr == null) { |
if (foundDescr == null) { |
1268 |
Name bestMatch = FeatureUtil.findBestMatchingAttribute(schema, |
NameImpl bestMatch = FeatureUtil.findBestMatchingAttribute(schema, |
1269 |
atm.getLocalName()); |
atm.getLocalName()); |
1270 |
if (bestMatch == null) |
if (bestMatch == null) |
1271 |
willRemove.add(atm.getName()); |
willRemove.add(atm.getName()); |
1289 |
if (ad instanceof GeometryDescriptor) |
if (ad instanceof GeometryDescriptor) |
1290 |
continue; |
continue; |
1291 |
if (!attributeMetaDataMap.containsKey(ad.getName())) { |
if (!attributeMetaDataMap.containsKey(ad.getName())) { |
1292 |
attributeMetaDataMap.put(ad.getName(), |
attributeMetaDataMap.put( new NameImpl(ad.getName().getNamespaceURI(), ad.getName().getLocalPart()), |
1293 |
new AttributeMetadataImpl(ad, schema |
new AttributeMetadataImpl(ad, schema |
1294 |
.getAttributeDescriptors().indexOf(ad), |
.getAttributeDescriptors().indexOf(ad), |
1295 |
attributeMetaDataMap.getLanguages())); |
attributeMetaDataMap.getLanguages())); |