Revision 22723
branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/operations/VectorialXMLItem.java | ||
---|---|---|
52 | 52 |
value = feature.get(k); |
53 | 53 |
if (value == null) { |
54 | 54 |
strValue = "{null}"; |
55 |
} else if (attr.getDataType().equals( |
|
56 |
FeatureAttributeDescriptor.TYPE_GEOMETRY)) { |
|
57 |
strValue = ((Geometry) value) |
|
58 |
.getGeometryType().getName(); |
|
59 | 55 |
} else { |
60 | 56 |
strValue = value.toString(); |
61 | 57 |
} |
Also available in: Unified diff