}
}
private void writeAttributeDefinitions(String layer, String ownerHandle,
FeatureCollection fc) throws IOException {
FeatureTypeImpl schema = (FeatureTypeImpl) fc.getSchema();
for ( PropertyDescriptor p : schema.getDescriptors()) {
Name name = p.getName();
LOGGER.warning(" attr: " + name.getLocalPart());
if (!(p.getType() instanceof GeometryType)) {
writeAttrDef(layer, ownerHandle, name.getLocalPart());
}