public void setAttributes ( Object feature , Map < String , Attribute > attributes ) throws LayerException { for ( Map . Entry < String , Attribute > entry : attributes . entrySet ( ) ) { String name = entry . getKey ( ) ; if ( ! name . equals ( getGeometryAttributeName ( ) ) ) { asFeature ( feature ) . setAttribute ( name , entry . getValue ( ) ) ; } } }
Set the attributes of a feature .