Revision 9507 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/gml/GMLDriver.java
GMLDriver.java | ||
---|---|---|
73 | 73 |
* |
74 | 74 |
* $Id$ |
75 | 75 |
* $Log$ |
76 |
* Revision 1.6 2006-10-02 08:49:50 jorpiell |
|
76 |
* Revision 1.7 2006-12-29 17:12:10 jorpiell |
|
77 |
* Se tienen en cuenta los simpleTypes y los choices, adem?s de los atributos multiples |
|
78 |
* |
|
79 |
* Revision 1.6 2006/10/02 08:49:50 jorpiell |
|
77 | 80 |
* Cambios provocados el el cambio de FSymbol |
78 | 81 |
* |
79 | 82 |
* Revision 1.5 2006/10/02 08:41:23 jorpiell |
... | ... | |
177 | 180 |
features.add(feature); |
178 | 181 |
|
179 | 182 |
if (!setModel){ |
180 |
getTableModel().setColumnIdentifiers(feature.getAttributeName().toArray());
|
|
183 |
getTableModel().setColumnIdentifiers(feature.getAttributeName()); |
|
181 | 184 |
} |
182 | 185 |
|
183 | 186 |
clave = ValueFactory.createValue(index); |
... | ... | |
273 | 276 |
*/ |
274 | 277 |
public String getAttributeName(int position){ |
275 | 278 |
if (features.size() > 0){ |
276 |
return ((String)((FeatureWithAttributes)features.get(0)).getAttributeName().get(position));
|
|
279 |
return ((String)((FeatureWithAttributes)features.get(0)).getAttributeName()[position]);
|
|
277 | 280 |
} |
278 | 281 |
return null; |
279 | 282 |
} |
Also available in: Unified diff