if (propNames.size() != 0) {
Iterator ii = attrs.iterator();
while (ii.hasNext()) {
AttributeTypeInfo ati = (AttributeTypeInfo) ii.next();
//String attName = (String) ii.next();
LOGGER.finer("checking to see if " + propNames + " contains" + ati);
if (((ati.getMinOccurs() > 0) && (ati.getMaxOccurs() != 0))
|| propNames.contains(ati.getName())) {
properties.add(ati.getName());
}
//if(wfs.isFeatureBounding() && meta.getFeatureType().getAttributeType(ati.getName()) instanceof GeometryAttributeType
// && !properties.contains(ati.getName())) {
// properties.add(ati.getName());
// extraGeometries.add(ati.getName());
//}
if(meta.getFeatureType().getAttributeType(ati.getName()) instanceof GeometryAttributeType
&& !properties.contains(ati.getName())) {
properties.add(ati.getName());
extraGeometries.add(ati.getName());
}
}
query.setPropertyNames(properties);
}