code: public void setGeometry(String name, Geometry value)
      {
          if (name == null)
          {
              geomPropertyName = null;
              geomValue = null;
          }
          else
          {
              geomPropertyName= name;
              geomValue = value;
          }
      }
docs: Sets the geometry property of the feature. This method also allows wiping the current geometry
  by setting the name of the property to null. The value will in that case be ignored.
  @param name the name of the geometry property, or null if the geometry property is to be wiped
  @param value the value of the geometry property of this feature