final SimpleFeatureType featureType = feature.getFeatureType();
final AttributeDescriptor attributeType = featureType.getDescriptor(attributeName);
final Object value = feature.getAttribute(attributeName);
entrySet.add(new DeferredValueEntry("value", value));
entrySet.add(new MapEntry("name", attributeName));
entrySet.add(new MapEntry("type", attributeType.getType().getBinding().getName()));
Object rawValue = value == null ? "" : value;
boolean isGeometry = Geometry.class.isAssignableFrom(attributeType.getType().getBinding());
entrySet.add(new MapEntry("isGeometry", Boolean.valueOf(isGeometry)));
entrySet.add(new MapEntry("rawValue", rawValue));
}
return entrySet;
}