public static void writeGISElementAttributes ( Element element , GISElement primitive , XMLBuilder builder , XMLResources resources ) throws IOException { XMLAttributeUtil . writeAttributeContainer ( element , primitive , builder , resources , false ) ; element . setAttribute ( XMLUtil . ATTR_NAME , primitive . getName ( ) ) ; element . setAttribute ( XMLAttributeUtil . ATTR_GEOID , primitive . getGeoId ( ) . toString ( ) ) ; element . setAttribute ( XMLUtil . ATTR_ID , primitive . getUUID ( ) . toString ( ) ) ; }
Write the attributes of the given GISElement in the the XML description . Only the name geoId id and additional attributes are written . Icon and color are not written .