Revision 8044 trunk/extensions/extWFS2/src/com/iver/cit/gvsig/fmap/drivers/wfs/WFSUtils.java
WFSUtils.java | ||
---|---|---|
55 | 55 |
* |
56 | 56 |
* $Id$ |
57 | 57 |
* $Log$ |
58 |
* Revision 1.3 2006-10-10 12:55:06 jorpiell |
|
58 |
* Revision 1.4 2006-10-11 11:19:58 jorpiell |
|
59 |
* Una nullPointerException que no se comprobaba |
|
60 |
* |
|
61 |
* Revision 1.3 2006/10/10 12:55:06 jorpiell |
|
59 | 62 |
* Se ha a?adido el soporte de features complejas |
60 | 63 |
* |
61 | 64 |
* Revision 1.2 2006/10/02 09:09:45 jorpiell |
... | ... | |
170 | 173 |
Vector selectedFileds = layer.getSelectedFields(); |
171 | 174 |
for (int i=0 ; i<selectedFileds.size() ; i++){ |
172 | 175 |
XMLElement attribute = (XMLElement)selectedFileds.get(i); |
173 |
if (!(attribute.getEntityType().getType() == IXMLType.GML_GEOMETRY)){
|
|
176 |
if (!((attribute.getEntityType() != null) && (attribute.getEntityType().getType() == IXMLType.GML_GEOMETRY))){
|
|
174 | 177 |
return true; |
175 | 178 |
} |
176 | 179 |
} |
Also available in: Unified diff